Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
system_pay
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王沛
system_pay
Commits
40a19fed
Commit
40a19fed
authored
Jun 21, 2023
by
wangp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2b79841b
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
156 additions
and
132 deletions
+156
-132
config.yaml
conf/dev/config.yaml
+24
-24
pay.go
repository/pay/pay.go
+132
-108
No files found.
conf/dev/config.yaml
View file @
40a19fed
...
...
@@ -52,10 +52,10 @@ log:
max_age
:
30
max_backups
:
7
sms
:
smskey
:
'
dbc2021888000000'
sendsmsurl
:
'
https://tsms.pet-dbc.cn/v1/send'
smscontent
:
'
【谛宝医生】登录验证码为:%s'
#
sms:
#
smskey: 'dbc2021888000000'
#
sendsmsurl: 'https://tsms.pet-dbc.cn/v1/send'
#
smscontent: '【谛宝医生】登录验证码为:%s'
# 支付
#payurl:
...
...
@@ -73,33 +73,33 @@ sms:
# port: '80'
#图片上传目录
uploadimage
:
upload_dir
:
'
credit_shop'
max_file_size
:
50000000
image_types
:
'
(jpg|jpeg|png|pdf|gif|zip|rar)'
accept_file_types
:
'
IMAGE_TYPES'
#
uploadimage:
#
upload_dir: 'credit_shop'
#
max_file_size: 50000000
#
image_types: '(jpg|jpeg|png|pdf|gif|zip|rar)'
#
accept_file_types: 'IMAGE_TYPES'
#OSS配置
oss
:
oss_url
:
'
https://dbc-static.oss-cn-beijing.aliyuncs.com/'
accesskeyid
:
'
LTAIDfwPBC9AnsRt'
accesskeysecret
:
'
Z6FtUptrAk0Sl6H8vrVBGZLbBzXEpO'
endpoint
:
'
oss-cn-beijing.aliyuncs.com'
bucket
:
'
dbc-static'
#
oss:
#
oss_url: 'https://dbc-static.oss-cn-beijing.aliyuncs.com/'
#
accesskeyid: 'LTAIDfwPBC9AnsRt'
#
accesskeysecret: 'Z6FtUptrAk0Sl6H8vrVBGZLbBzXEpO'
#
endpoint: 'oss-cn-beijing.aliyuncs.com'
#
bucket: 'dbc-static'
#阿里云 - 全国快递物流查询
alicloud
:
appcode
:
'
6d1da9eb15b540688a505c1814e0c25f'
#
alicloud:
#
appcode: '6d1da9eb15b540688a505c1814e0c25f'
#time_duration: 7200
#e签宝
esign
:
project_id
:
"
5111575783"
project_secret
:
"
5255e7159b6262b92b03c4e307a23ed2"
organ_auth_url
:
"
https://openapi2.tsign.cn:8444/realname/rest/external/organ/orgAuth"
info_auth_url
:
"
https://openapi2.tsign.cn:8444/realname/rest/external/organ/infoAuth-special"
#
esign:
#
project_id: "5111575783"
#
project_secret: "5255e7159b6262b92b03c4e307a23ed2"
#
organ_auth_url: "https://openapi2.tsign.cn:8444/realname/rest/external/organ/orgAuth"
#
info_auth_url: "https://openapi2.tsign.cn:8444/realname/rest/external/organ/infoAuth-special"
# jwt 与 des解密
jwtsecret
:
'
Rtg8BPKNEf5mo4mgvKONGPZZQSaJWNLijxJ52qRgq0iBb7'
deskey
:
'
yaoll123'
#
jwtsecret: 'Rtg8BPKNEf5mo4mgvKONGPZZQSaJWNLijxJ52qRgq0iBb7'
#
deskey: 'yaoll123'
#system_pay777
repository/pay/pay.go
View file @
40a19fed
This diff is collapsed.
Click to expand it.
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