You've already forked FrameTour-BE
微信支付、回调、订单查询;
微信用户登录、用户信息查询、修改用户信息、同意用户协议; 文件OSS上传、删除接口;
This commit is contained in:
@ -11,7 +11,7 @@ spring:
|
||||
hiddenmethod:
|
||||
filter:
|
||||
enabled: true
|
||||
datasource: # 数据源的相关配置
|
||||
datasource: # 数据源的相关配置
|
||||
type: com.zaxxer.hikari.HikariDataSource # 数据源类型:HikariCP
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver # mysql驱动
|
||||
url: jdbc:mysql://8.134.112.96:3306/liuying_mgmt_re?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||
@ -60,3 +60,38 @@ mybatis-plus:
|
||||
# 指定使用的日志配置文件
|
||||
logging:
|
||||
config: classpath:logback-spring.xml
|
||||
# 微信小程序相关配置
|
||||
wx:
|
||||
# 公众号的appId
|
||||
appId: fix
|
||||
# 公众号的密钥
|
||||
appSecret: fix
|
||||
# 小程序的AppId
|
||||
miniProgramAppId: 1
|
||||
# 小程序的secret
|
||||
miniProgramSecret: 1
|
||||
# 申请openid授权
|
||||
grandType: authorization_code
|
||||
# 推送模板
|
||||
push:
|
||||
templateId: 1
|
||||
# 商户号
|
||||
mchId: xxxx
|
||||
# 商户证书序列号
|
||||
mchSerialNo: xxxxx
|
||||
# 回调接口地址
|
||||
notifyUrl: https://xxxx/a/biz/wxpay/payNotify
|
||||
# 商户API私钥路径
|
||||
keyPath: module-app/src/main/resources/cert/apiclient_key.pem
|
||||
# 商户APIV3密钥
|
||||
apiV3: 1
|
||||
|
||||
#阿里云OSS
|
||||
aliYunOss:
|
||||
endpoint: "https://oss-cn-chengdu.aliyuncs.com"
|
||||
accessKeyId: "LTAI5t5cydpGpHfYqf31mEJA"
|
||||
accessKeySecret: "xdFzlwzmE8QPPstbcZY82tU3xj7G0R"
|
||||
bucketName: "scwzzn-file"
|
||||
objectName: "image/"
|
||||
url: "https://scwzzn-file.oss-cn-chengdu.aliyuncs.com/"
|
||||
region: "cn-hangzhou"
|
Reference in New Issue
Block a user