From 45271269073ac92f0367943491a07f49f34f315b Mon Sep 17 00:00:00 2001
From: leomonM <2233021400@qq.com>
Date: Fri, 22 Aug 2025 15:20:14 +0800
Subject: [PATCH] key
---
oying-system/src/main/resources/config/application-dev.yml | 70 ++++++++++++++++++++++++++++++++++-
1 files changed, 68 insertions(+), 2 deletions(-)
diff --git a/oying-system/src/main/resources/config/application-dev.yml b/oying-system/src/main/resources/config/application-dev.yml
index 1880cf2..ba81b21 100644
--- a/oying-system/src/main/resources/config/application-dev.yml
+++ b/oying-system/src/main/resources/config/application-dev.yml
@@ -111,8 +111,74 @@
path: /opt/oying/file/
avatar: /opt/oying/avatar/
windows:
- path: C:\oying\file\
- avatar: C:\oying\avatar\
+ path: d:\data\oying\file\
+ avatar: d:\data\oying\avatar\
# 文件大小 /M
maxSize: 100
avatarMaxSize: 5
+
+ # 短信验证码key 时间
+sms:
+ key: oying-sms-key-
+ time: 300
+
+#微信配置
+wx:
+ # 测试环境
+ enabled: false
+ # AppID
+ app-id: wx2273296a5569cbad
+ # AppSecret
+ app-secret: 4526d72d885be322b17d0694cd6d03f1
+ # 跳转小程序类型 developer为开发版;trial为体验版;formal为正式版;默认为正式版
+ mini-program-state: trial
+ # access_token的KEY
+ token-key: wx_access_token
+ # access_token的失效时间间隔,微信是2小时,此处隔7200秒就重新获取
+ token-time: 7200
+ # 微信URL调用
+ # POST 获取稳定版接口调用凭据 获取小程序全局唯一后台接口调用凭据,token有效期为7200s,开发者需要进行妥善保存。
+ get-stable-access-token: https://api.weixin.qq.com/cgi-bin/stable_token
+ # GET 小程序登录 登录凭证校验。通过 wx.login 接口获得临时登录凭证 code 后传到开发者服务器调用此接口完成登录流程
+ code2-session: https://api.weixin.qq.com/sns/jscode2session?appid={appid}&secret={secret}&js_code={js_code}&grant_type=authorization_code
+ # POST 获取手机号 该接口用于将code换取用户手机号。 说明,每个code只能使用一次,code的有效期为5min。
+ get-phone-number: https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token={accessToken}
+ # POST 该接口用于发送订阅消息。
+ send-message: https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token={accessToken}
+
+# 汇旺财
+swift-pass:
+ # 密钥
+ key: qqqqqqqqqqqqqqqqqqqq
+ # 私钥
+ mch-private-key: qqqqqqqqqqqq
+ # 公钥
+ plat-public-key: qqqqq
+ # 门店编号
+ mch-id: 1111
+ # 签名方式
+ sign-type: MD5
+ # 原生JS
+ is-raw: 1
+ # 是否小程序支付
+ is-minipg: 1
+ # AppID
+ app-id: wx2273296a5569cbad
+ # 请求url
+ req-url: https://pay.hstypay.com/v2/pay/gateway
+ # 支付通知地址
+ notify-url: https://localhost/oying/api/swiftPass/alipayCallback
+ # 退款通知地址
+ refund-url: https://localhost/oying/api/swiftPass/returnNotify
+
+obs:
+ access_key_id: RZ1UIOZDZ58DD4NWPD6Q
+ access_key_secret: QpE58YEFtgoIwUoGNlN5JlNY7t6qVu7vMkix8gAI
+ bucket: oying
+ endpoint: https://obs.cn-southwest-2.myhuaweicloud.com
+
+winner-look:
+ url-send-msg: https://118.178.116.15:8443/winnerrxd/api/trigger/SendMsg
+ url-send-msg-batch: https://118.178.116.15:8443/winnerrxd/api/trigger/SendBatchMsg
+ user-code: CQLYSXYJ
+ user-pass: lych1205!
--
Gitblit v1.9.3