Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
16f4393c
Commit
16f4393c
authored
Jul 19, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pom
parent
f680afd5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
326 deletions
+2
-326
ch-admin-api/src/main/resources/application-dev.yml
ch-admin-api/src/main/resources/application-dev.yml
+0
-158
ch-admin-api/src/main/resources/application-prod.yml
ch-admin-api/src/main/resources/application-prod.yml
+0
-154
ch-dao/pom.xml
ch-dao/pom.xml
+0
-12
ch-wx-api/src/main/resources/application.yml
ch-wx-api/src/main/resources/application.yml
+2
-2
No files found.
ch-admin-api/src/main/resources/application-dev.yml
deleted
100644 → 0
View file @
f680afd5
dts
:
# 开发者应该设置成自己的wx相关信息
wx
:
app-id
:
wx3618eab6c8b144af
app-secret
:
788559035a21b8a75b0c03f9281d5c0a
mch-id
:
1538666666
mch-key
:
1538xxxxxx-1538xxxxxx-1538xxxxxx
notify-url
:
https://test.dtsshop.com/demo/order/dtsNotify
# 商户证书文件路径
# 请参考“商户证书”一节 https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=4_3
key-path
:
xxxxx
#通知相关配置
notify
:
mail
:
# 邮件通知配置,邮箱一般用于接收业务通知例如收到新的订单,sendto 定义邮件接收者,通常为商城运营人员
enable
:
true
host
:
smtp.aliyun.com
username
:
dtsshop@aliyun.com
password
:
xxx
sendfrom
:
xxx@aliyun.com
sendto
:
xxx@qq.com
# 短消息模版通知配置
# 短信息用于通知客户,例如发货短信通知,注意配置格式;template-name,template-templateId 请参考 NotifyType 枚举值
sms
:
enable
:
true
appid
:
1400286323
appkey
:
223123sade14c129c4ce9a30b5f90ad2c
template
:
-
name
:
paySucceed
templateId
:
112233
-
name
:
captcha
templateId
:
112233
-
name
:
ship
templateId
:
112233
-
name
:
refund
templateId
:
112233
# 微信模版通知配置
# 微信模版用于通知客户或者运营者,注意配置格式;template-name,template-templateId 请参考 NotifyType 枚举值
wx
:
enable
:
true
template
:
-
name
:
paySucceed
templateId
:
sirUcgTAIQfoIxxxxxx
-
name
:
captcha
templateId
:
OfBkXh7UILpsDkcxxxxxx
-
name
:
ship
templateId
:
dqTuWzrmL_wwK-SJsxxxxxx
-
name
:
applyRefund
templateId
:
lzPHltMpUOiBol7i2Yxxxxxx
-
name
:
refund
templateId
:
NDy6EpPuu2C9NMUxxxxxx
# 快鸟物流查询配置
express
:
enable
:
true
appId
:
"
xxxxxx"
appKey
:
"
xxxxxx"
vendors
:
-
code
:
"
HTKY"
name
:
"
百世快递"
-
code
:
"
YZBK"
name
:
"
邮政国内标快"
-
code
:
"
ZTO"
name
:
"
中通快递"
-
code
:
"
YTO"
name
:
"
圆通速递"
-
code
:
"
YD"
name
:
"
韵达速递"
-
code
:
"
YZPY"
name
:
"
邮政快递包裹"
-
code
:
"
EMS"
name
:
"
EMS"
-
code
:
"
DBL"
name
:
"
德邦快递"
-
code
:
"
FAST"
name
:
"
快捷快递"
-
code
:
"
ZJS"
name
:
"
宅急送"
-
code
:
"
TNT"
name
:
"
TNT快递"
-
code
:
"
UPS"
name
:
"
UPS"
-
code
:
"
DHL"
name
:
"
DHL"
-
code
:
"
FEDEX"
name
:
"
FEDEX联邦(国内件)"
-
code
:
"
FEDEX_GJ"
name
:
"
FEDEX联邦(国际件)"
# 对象存储配置
storage
:
# 当前工作的对象存储模式,分别是local、aliyun、tencent、qiniu
active
:
local
# 本地对象存储配置信息
local
:
storagePath
:
dts/storage
# 这个地方应该是wx模块的WxStorageController的fetch方法对应的地址
address
:
http://localhost:8080/demo/storage/
# 阿里云对象存储配置信息
aliyun
:
endpoint
:
oss-cn-guangzhou.aliyuncs.com
accessKeyId
:
111111
accessKeySecret
:
xxxxxx
bucketName
:
dts-shop
# 腾讯对象存储配置信息
# 请参考 https://cloud.tencent.com/document/product/436/6249
tencent
:
secretId
:
111111
secretKey
:
xxxxxx
region
:
xxxxxx
bucketName
:
dts
# 七牛云对象存储配置信息
qiniu
:
endpoint
:
https://cdn.wanwudezhi.com
accessKey
:
i1UKfccHt7WG-KC1svRyc13gSPErtv8eLXoSxDJO
secretKey
:
K61gTdyEYk2B0GSkqZammXlOdabQzoXBfb459P9e
bucketName
:
portal-cdn
pagehelper
:
helperDialect
:
mysql
reasonable
:
true
supportMethodsArguments
:
true
params
:
count=countSql
spring
:
datasource
:
druid
:
url
:
jdbc:mysql://pc-bp1l2k9j6ck1gr923.mysql.polardb.rds.aliyuncs.com:3306/quanku?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false
driver-class-name
:
com.mysql.jdbc.Driver
username
:
quanku
password
:
3N0W8i0b1Wm35MJ5
initial-size
:
10
max-active
:
50
min-idle
:
10
max-wait
:
60000
pool-prepared-statements
:
true
max-pool-prepared-statement-per-connection-size
:
20
validation-query
:
SELECT 1 FROM DUAL
test-on-borrow
:
false
test-on-return
:
false
test-while-idle
:
true
time-between-eviction-runs-millis
:
60000
filters
:
stat,wall
redis
:
host
:
r-bp10jnt2nm5gbtdr1t.redis.rds.aliyuncs.com
port
:
6379
password
:
B0lpJwBIgzOc7PKj
database
:
0
elasticsearch
:
jest
:
uris
:
172.16.122.190:9200
\ No newline at end of file
ch-admin-api/src/main/resources/application-prod.yml
deleted
100644 → 0
View file @
f680afd5
dts
:
# 开发者应该设置成自己的wx相关信息
wx
:
app-id
:
wx3618eab6c8b144af
app-secret
:
1a6e073ad84a1a44b6e882f3995bc400
mch-id
:
1538666666
mch-key
:
1538xxxxxx-1538xxxxxx-1538xxxxxx
notify-url
:
https://test.dtsshop.com/demo/order/dtsNotify
# 商户证书文件路径
# 请参考“商户证书”一节 https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=4_3
key-path
:
xxxxx
#通知相关配置
notify
:
mail
:
# 邮件通知配置,邮箱一般用于接收业务通知例如收到新的订单,sendto 定义邮件接收者,通常为商城运营人员
enable
:
true
host
:
smtp.aliyun.com
username
:
dtsshop@aliyun.com
password
:
xxx
sendfrom
:
xxx@aliyun.com
sendto
:
xxx@qq.com
# 短消息模版通知配置
# 短信息用于通知客户,例如发货短信通知,注意配置格式;template-name,template-templateId 请参考 NotifyType 枚举值
sms
:
enable
:
true
appid
:
1400286323
appkey
:
223123sade14c129c4ce9a30b5f90ad2c
template
:
-
name
:
paySucceed
templateId
:
112233
-
name
:
captcha
templateId
:
112233
-
name
:
ship
templateId
:
112233
-
name
:
refund
templateId
:
112233
# 微信模版通知配置
# 微信模版用于通知客户或者运营者,注意配置格式;template-name,template-templateId 请参考 NotifyType 枚举值
wx
:
enable
:
true
template
:
-
name
:
paySucceed
templateId
:
sirUcgTAIQfoIxxxxxx
-
name
:
captcha
templateId
:
OfBkXh7UILpsDkcxxxxxx
-
name
:
ship
templateId
:
dqTuWzrmL_wwK-SJsxxxxxx
-
name
:
applyRefund
templateId
:
lzPHltMpUOiBol7i2Yxxxxxx
-
name
:
refund
templateId
:
NDy6EpPuu2C9NMUxxxxxx
# 快鸟物流查询配置
express
:
enable
:
true
appId
:
"
xxxxxx"
appKey
:
"
xxxxxx"
vendors
:
-
code
:
"
HTKY"
name
:
"
百世快递"
-
code
:
"
YZBK"
name
:
"
邮政国内标快"
-
code
:
"
ZTO"
name
:
"
中通快递"
-
code
:
"
YTO"
name
:
"
圆通速递"
-
code
:
"
YD"
name
:
"
韵达速递"
-
code
:
"
YZPY"
name
:
"
邮政快递包裹"
-
code
:
"
EMS"
name
:
"
EMS"
-
code
:
"
DBL"
name
:
"
德邦快递"
-
code
:
"
FAST"
name
:
"
快捷快递"
-
code
:
"
ZJS"
name
:
"
宅急送"
-
code
:
"
TNT"
name
:
"
TNT快递"
-
code
:
"
UPS"
name
:
"
UPS"
-
code
:
"
DHL"
name
:
"
DHL"
-
code
:
"
FEDEX"
name
:
"
FEDEX联邦(国内件)"
-
code
:
"
FEDEX_GJ"
name
:
"
FEDEX联邦(国际件)"
# 对象存储配置
storage
:
# 当前工作的对象存储模式,分别是local、aliyun、tencent、qiniu
active
:
local
# 本地对象存储配置信息
local
:
storagePath
:
dts/storage
# 这个地方应该是wx模块的WxStorageController的fetch方法对应的地址
address
:
http://localhost:8080/demo/storage/
# 阿里云对象存储配置信息
aliyun
:
endpoint
:
oss-cn-guangzhou.aliyuncs.com
accessKeyId
:
111111
accessKeySecret
:
xxxxxx
bucketName
:
dts-shop
# 腾讯对象存储配置信息
# 请参考 https://cloud.tencent.com/document/product/436/6249
tencent
:
secretId
:
111111
secretKey
:
xxxxxx
region
:
xxxxxx
bucketName
:
dts
# 七牛云对象存储配置信息
qiniu
:
endpoint
:
https://cdn.wanwudezhi.com
accessKey
:
i1UKfccHt7WG-KC1svRyc13gSPErtv8eLXoSxDJO
secretKey
:
K61gTdyEYk2B0GSkqZammXlOdabQzoXBfb459P9e
bucketName
:
portal-cdn
pagehelper
:
helperDialect
:
mysql
reasonable
:
true
supportMethodsArguments
:
true
params
:
count=countSql
spring
:
datasource
:
druid
:
url
:
jdbc:mysql://pc-bp1l2k9j6ck1gr923.mysql.polardb.rds.aliyuncs.com:3306/quanku?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false
driver-class-name
:
com.mysql.jdbc.Driver
username
:
quanku
password
:
3N0W8i0b1Wm35MJ5
initial-size
:
10
max-active
:
50
min-idle
:
10
max-wait
:
60000
pool-prepared-statements
:
true
max-pool-prepared-statement-per-connection-size
:
20
validation-query
:
SELECT 1 FROM DUAL
test-on-borrow
:
false
test-on-return
:
false
test-while-idle
:
true
time-between-eviction-runs-millis
:
60000
filters
:
stat,wall
redis
:
host
:
r-bp1xrb4in3pccqxfat.redis.rds.aliyuncs.com
port
:
6379
password
:
Jyt4gT06qdRZnC1z
database
:
0
\ No newline at end of file
ch-dao/pom.xml
View file @
16f4393c
...
...
@@ -128,18 +128,6 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jar-plugin
</artifactId>
<version>
2.4
</version>
<configuration>
<archive>
<manifest>
<useUniqueVersions>
false
</useUniqueVersions>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
...
...
ch-wx-api/src/main/resources/application.yml
View file @
16f4393c
...
...
@@ -11,9 +11,9 @@ spring:
server
:
port
:
8
383
port
:
8
085
servlet
:
context-path
:
/demo
context-path
:
logging
:
level
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment