1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# 服务
server:
runMode: 'debug'
httpport: 14880
readtimeout: 60
writetimeout: 60
# 通用设置
app:
name: 'system_pay'
version: '1.0.0.0'
timeformat: 20060102
# 数据库
database:
type: 'mysql'
#crmdb: "root:abc123456@tcp(39.96.85.45:3307)/dbc_crm_manage?charset=utf8"
#shopdb: "root:abc123456@tcp(39.96.85.45:3307)/dbc_shop?charset=utf8"
systemdb: "root:abc123456@tcp(39.96.85.45:3307)/sys_pay?charset=utf8"
#accountdb: 'dbc_saas:dbc_saas888888@tcp(rm-2zepcf8kag0aol0q48o.mysql.rds.aliyuncs.com:3306)/hos_database?charset=utf8'
#userdb: 'root_dbc:dbc_root888888@tcp(rm-2ze8jnj44l6ta299pro.mysql.rds.aliyuncs.com:3306)/mysql?charset=utf8'
#seconddb: 'root_dbc:dbc_root888888@tcp(rm-2ze095l91j14r251wno.mysql.rds.aliyuncs.com:3306)/mysql?charset=utf8'
#paydb: 'dbc_saas:dbc_saas888888@tcp(rm-2zepcf8kag0aol0q48o.mysql.rds.aliyuncs.com:3306)/diyu_analysis?charset=utf8'
# max_open_conns: 200
# max_idle_conns: 50
# host: "127.0.0.1"
# user: "root"
# password: "rootroot"
# port: 3306
# dbname: "test_food"
# 日志
log:
logsavepath: logs/
logsavename: log
logfileext: log
level: 'debug'
max_size: 200
max_age: 30
max_backups: 7
# 支付
payurl:
domainname: 'http://tpay-v2.pet-dbc.cn:14880'
# checkorder: 'https://tpay.pet-dbc.cn/v1/pay/unified_order'
# orderstate: 'https://tpay.pet-dbc.cn/v1/pay/order_state/'
# 拉卡拉支付
lakala:
#通用
version: '3.0'
appid: 'OP00000003'
serial_no: '00dfba8194c41b84cf'
#1.聚合收银台(微信H5、支付宝H5、快捷支付(银行卡))
merchant_no1: '8222900701107M5'
term_no1: ''
#2.聚合收银台(微信扫码、支付宝扫码)
merchant_no2: '8221210594300JY'
term_no2: ''
#3.聚合主扫(微信JSAPI、微信小程序)
merchant_no3: '8222900581201QB'
term_no3: 'D0027598'
sub_appid3: 'wxc3e4d1682da3053c'
user_id3: 'oLvoQ5deygCMj2WrDjPVPvV1L1t8'
#4.聚合被扫(扫码枪)
merchant_no4: '822290070111135' #结算商户号
term_no4: '29034705' #结算终端号
#配置项
#谛宝多多自营
dbc_path_private_key: './cert/dev/OP00000003_private_key.pem' #私钥
dbc_path_cert: './cert/dev/lkl-apigw-v2.cer' #证书
#必康自营
bk_path_private_key: './cert/dev/OP00000003_private_key.pem' #私钥
bk_path_cert: './cert/dev/lkl-apigw-v2.cer' #证书
#必康医生
saas_path_private_key: './cert/dev/OP00000003_private_key.pem' #私钥
saas_path_cert: './cert/dev/lkl-apigw-v2.cer' #证书
#拉卡拉接口地址
url_create: 'https://test.wsmsd.cn/sit/api/v3/ccss/counter/order/create' #聚合收银台(微信H5、支付宝H5、微信扫码、支付宝扫码)
url_preorder: 'https://test.wsmsd.cn/sit/api/v3/labs/trans/preorder' #聚合主扫(微信JSAPI、微信小程序)
url_micropay: 'https://test.wsmsd.cn/sit/api/v3/labs/trans/micropay' #聚合被扫(扫码枪)
url_refund: 'https://test.wsmsd.cn/sit/api/v3/labs/relation/refund' #聚合扫码-退款交易