From d93356927d8a0a5a91963c28d461d9107562d759 Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Fri, 30 May 2025 17:38:26 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/xin'

---
 oying-system/src/main/resources/config/application-dev.yml |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 56 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..3ea16c0 100644
--- a/oying-system/src/main/resources/config/application-dev.yml
+++ b/oying-system/src/main/resources/config/application-dev.yml
@@ -111,8 +111,62 @@
     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

--
Gitblit v1.9.3