dev配置补充

This commit is contained in:
moxiangrong
2024-02-21 11:28:25 +08:00
parent ca9a96eabd
commit e6eb0ded72
2 changed files with 39 additions and 3 deletions

View File

@ -156,9 +156,36 @@ wx: # 参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-sta
type: RedisTemplate # 采用 RedisTemplate 操作 Redis会自动从 Spring 中获取
key-prefix: wa # Redis Key 的前缀 TODO yshop解决下 Redis key 管理的配置
http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台
cp: # 企业微信配置
corpId:
appConfigs:
- agentId:
secret:
token:
aesKey:
order-notice:
flag: false
--- #微信支付配置
weixin:
#小程序appid
appid:
#APP端的appid
app_appid:
#小程序秘钥
secret:
#商户号
mchid:
#证书路径
certurl:
#订单取消退款回调地址
order_refund_notifyurl:
#APP回调地址
app_notifyurl:
#商户秘钥
key:
#h5支付之后跳转地址
redirect_url: http://localhost:8080/
--- #################### yshop相关配置 ####################
# yshop配置项设置当前项目所有自定义的配置
@ -172,6 +199,15 @@ yshop:
callback-url: http://yshop.natapp1.cc/admin-api/pay/notify/callback
return-url: http://yshop.natapp1.cc/admin-api/pay/notify/return
demo: true # 开启演示模式
sms-code:
expire-times: 10m
send-frequency: 1m
send-maximum-quantity-per-day: 1000
begin-code: 1111 # 这里配置 9999 的原因是,测试方便。
end-code: 9999 # 这里配置 9999 的原因是,测试方便。
api-key:
api-secret:
signature:
justauth:
enabled: true

View File

@ -221,9 +221,9 @@ yshop:
send-maximum-quantity-per-day: 1000
begin-code: 1111 # 这里配置 9999 的原因是,测试方便。
end-code: 9999 # 这里配置 9999 的原因是,测试方便。
api-key: LTAI5tBBPdRd4f2YZt5UhVjF
api-secret: iVP7EsjX309epI7MqsScziGhcrEHiT
signature: 中科鑫智
api-key:
api-secret:
signature:
justauth: