无人机小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wrj-applet-api/target/classes/application.yml

91 lines
2.7 KiB

server:
port: 8899
servlet:
context-path: '/driver-api'
spring:
application:
name: 'wrj-applet-api'
profiles:
active: prod
#mybatis
mybatis-plus:
mapper-locations: classpath*:/mapper/**Mapper.xml
typeAliasesPackage: com.wrj.driver.server.entity
global-config:
column-underline: false
configuration:
map-underscore-to-camel-case: true
cache-enabled: false
# 分页配置
pagehelper:
helper-dialect: mysql
reasonable: true
support-methods-arguments: true
params: count=countSql
# Knife4j配置
knife4j:
# 是否开启增强模式
enable: true
# 是否需要校验token
driver:
auth-config:
# 约定为若 preAuth 为 true,则所有请求(除不需权限校验url集合noAuthEndPoints外)都需要身份认证
# 为 false,则所有请求(除需要权限校验url集合needAuthEndPoints外)都不需要身份认证
preAuth: false
# 不需权限校验url集合
noAuthEndPoints:
# - /driver-api/v2/api-docs
# - /driver-api/swagger-resources
# - /driver-api/favicon.ico
# - /driver-api/tdSysUser/code
# - /driver-api/payNoticeLog
# - /driver-api/tdQuestion/duima/list
# - /driver-api/tdQuestion/duima/update
# - /driver-api/tdQuestion/queryQuestionById
# - /driver-api/tdQuestion/queryQuestionByIdList
# - /driver-api/tdQuestion/queryQuestion
# - /driver-api/tdQuestion/getTestQuestion
# - /driver-api/tdQuestion/questionCategory
# - /driver-api/tdMember/queryMember
# - /driver-api/tdSysConfig/queryConfigByKey
# - /driver-api/tdSysConfig/queryConfigValueByKey
# - /driver-api/tdSysConfig/queryConfigByKeys
# - /driver-api/tdSysConfigList/querySysConfigList
# - /driver-api/tdSysConfigList/querySysConfigMap
# - /driver-api/tdCar/list
# - driver-api/tdTestProject/queryProjectList
# 需要权限校验url集合
needAuthEndPoints:
- /driver-api/tdSysUser/loginOut
- /driver-api/tdSysUser/queryUserMessage
- /driver-api/tdSysUser/bindSchool
- /driver-api/tdQuestionTest/testSubmit
- /driver-api/tdQuestionTest/testTotal
- /driver-api/tdMember/queryUserMember
- /driver-api/applet/pay/prepay
- /driver-api/H5/pay/prepay
# token 有效期1年
token:
expireTime: 365
# 短信验证码失效时间5分钟
message:
code:
expireTime: 300
wechatpay:
appId: wx26785eb35bd950b0
appSecret: 31dda7730f2fdc72411cfc696d46ee1e
mchId: 1602524420
apiV3Key: XunJia202402268888888888ZhouHong
mchSerialNo: 6FF32FC03A1F4A0538E1EE95463977729C540ED9
# 路径设置没生效 不知道原因
privateKeyPath: classpath*:/wechatPay/apiclient_key.pem
payNoticeUrl: https://cloud.ahduima.com/driver-api/payNoticeLog