2022-02-08 11:36:50 +08:00
|
|
|
|
# 项目相关配置
|
|
|
|
|
|
ruoyi:
|
|
|
|
|
|
# 名称
|
2022-03-14 14:42:03 +08:00
|
|
|
|
name: GongQuanZi
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 版本
|
|
|
|
|
|
version: 4.7.2
|
|
|
|
|
|
# 版权年份
|
|
|
|
|
|
copyrightYear: 2021
|
|
|
|
|
|
# 实例演示开关
|
2023-09-28 16:01:07 +08:00
|
|
|
|
demoEnabled: false
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
2022-03-07 10:14:11 +08:00
|
|
|
|
profile: /home/ruoyi/uploadPath
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 获取ip地址开关
|
|
|
|
|
|
addressEnabled: false
|
|
|
|
|
|
|
|
|
|
|
|
# 开发环境配置
|
|
|
|
|
|
server:
|
|
|
|
|
|
# 服务器的HTTP端口,默认为80
|
2024-02-17 13:50:22 +08:00
|
|
|
|
port: 19001
|
2022-02-08 11:36:50 +08:00
|
|
|
|
servlet:
|
|
|
|
|
|
# 应用的访问路径
|
|
|
|
|
|
context-path: /
|
|
|
|
|
|
tomcat:
|
|
|
|
|
|
# tomcat的URI编码
|
|
|
|
|
|
uri-encoding: UTF-8
|
|
|
|
|
|
# 连接数满后的排队数,默认为100
|
|
|
|
|
|
accept-count: 1000
|
|
|
|
|
|
threads:
|
|
|
|
|
|
# tomcat最大线程数,默认为200
|
|
|
|
|
|
max: 800
|
|
|
|
|
|
# Tomcat启动初始化的线程数,默认值10
|
|
|
|
|
|
min-spare: 100
|
2022-05-19 18:53:19 +08:00
|
|
|
|
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 日志配置
|
|
|
|
|
|
logging:
|
|
|
|
|
|
level:
|
|
|
|
|
|
com.ghy: debug
|
|
|
|
|
|
org.springframework: warn
|
|
|
|
|
|
|
|
|
|
|
|
# 用户配置
|
|
|
|
|
|
user:
|
|
|
|
|
|
password:
|
|
|
|
|
|
# 密码错误{maxRetryCount}次锁定10分钟
|
|
|
|
|
|
maxRetryCount: 5
|
|
|
|
|
|
|
|
|
|
|
|
# Spring配置
|
|
|
|
|
|
spring:
|
|
|
|
|
|
# 模板引擎
|
|
|
|
|
|
thymeleaf:
|
|
|
|
|
|
mode: HTML
|
|
|
|
|
|
encoding: utf-8
|
|
|
|
|
|
# 禁用缓存
|
|
|
|
|
|
cache: false
|
|
|
|
|
|
# 资源信息
|
|
|
|
|
|
messages:
|
|
|
|
|
|
# 国际化资源文件路径
|
|
|
|
|
|
basename: static/i18n/messages
|
|
|
|
|
|
jackson:
|
|
|
|
|
|
time-zone: GMT+8
|
|
|
|
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
2022-05-19 18:53:19 +08:00
|
|
|
|
profiles:
|
2023-04-19 22:34:50 +08:00
|
|
|
|
active: druid
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 文件上传
|
|
|
|
|
|
servlet:
|
|
|
|
|
|
multipart:
|
|
|
|
|
|
# 单个文件大小
|
2022-11-01 09:43:23 +08:00
|
|
|
|
max-file-size: 200MB
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 设置总上传的文件大小
|
2022-11-01 09:43:23 +08:00
|
|
|
|
max-request-size: 200MB
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 服务模块
|
|
|
|
|
|
devtools:
|
|
|
|
|
|
restart:
|
|
|
|
|
|
# 热部署开关
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
|
|
|
|
# MyBatis
|
|
|
|
|
|
mybatis:
|
|
|
|
|
|
# 搜索指定包别名
|
|
|
|
|
|
typeAliasesPackage: com.ghy.**.domain
|
|
|
|
|
|
# 配置mapper的扫描,找到所有的mapper.xml映射文件
|
|
|
|
|
|
mapperLocations: classpath*:mapper/**/*Mapper.xml
|
|
|
|
|
|
# 加载全局的配置文件
|
|
|
|
|
|
configLocation: classpath:mybatis/mybatis-config.xml
|
|
|
|
|
|
|
|
|
|
|
|
# PageHelper分页插件
|
2022-05-19 18:53:19 +08:00
|
|
|
|
pagehelper:
|
2022-02-08 11:36:50 +08:00
|
|
|
|
helperDialect: mysql
|
|
|
|
|
|
supportMethodsArguments: true
|
2022-05-19 18:53:19 +08:00
|
|
|
|
params: count=countSql
|
2022-02-08 11:36:50 +08:00
|
|
|
|
|
|
|
|
|
|
# 防止XSS攻击
|
2022-05-19 18:53:19 +08:00
|
|
|
|
xss:
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 过滤开关
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
# 排除链接(多个用逗号分隔)
|
|
|
|
|
|
excludes: /system/notice/*
|
|
|
|
|
|
# 匹配链接
|
|
|
|
|
|
urlPatterns: /system/*,/monitor/*,/tool/*
|
|
|
|
|
|
|
|
|
|
|
|
# Swagger配置
|
|
|
|
|
|
swagger:
|
|
|
|
|
|
# 是否开启swagger
|
2022-03-14 16:56:11 +08:00
|
|
|
|
enabled: true
|
|
|
|
|
|
|
2022-05-05 14:35:48 +08:00
|
|
|
|
#小程序配置
|
|
|
|
|
|
wx:
|
2023-03-27 02:03:19 +08:00
|
|
|
|
mallAppId: 'wxc39c2af3ea24cd37'
|
|
|
|
|
|
mallSecret: '96d566c3169b8715904950d9cf3cbf60'
|
2023-01-07 13:15:35 +08:00
|
|
|
|
appId: 'wx105ce607b514ff2a'
|
|
|
|
|
|
secret: '51df6f2d33bf639fa05891af7a69a56e'
|
2022-05-12 14:13:52 +08:00
|
|
|
|
# appId: 'wx404f2439a8c24e15'
|
|
|
|
|
|
# secret: '49ade04a817067fe2d65ab2f17afce75'
|
2022-05-05 14:35:48 +08:00
|
|
|
|
|
|
|
|
|
|
#七牛云配置
|
2022-03-14 16:56:11 +08:00
|
|
|
|
qiniu:
|
|
|
|
|
|
accessKey: 'QTNOppkvtufxTxLjt1V7YZwvzV2Rc6WLD5yXLBVY'
|
|
|
|
|
|
secretKey: 'V8SM9nkbO-dft4JmG7UaCH6RYxXdqzrvQ0zWO2W3'
|
|
|
|
|
|
bucketName: 'gqz'
|
|
|
|
|
|
mediaUrl: 'http://gqz.opsoul.com/'
|
2022-04-11 10:35:53 +08:00
|
|
|
|
|
|
|
|
|
|
adapay:
|
2022-05-05 21:39:37 +08:00
|
|
|
|
debug: true
|
2022-05-26 15:47:21 +08:00
|
|
|
|
prod-mode: true
|
2025-01-10 13:56:00 +08:00
|
|
|
|
notifyUrl: 'https://gmhl.gmjlb.com/adapay/callback'
|
2022-04-29 09:32:34 +08:00
|
|
|
|
|
|
|
|
|
|
jim:
|
2022-08-04 16:30:43 +08:00
|
|
|
|
appKey: '110e8830290152d76e2f1d97'
|
|
|
|
|
|
masterSecret: 'ec49918a5d89526722b05924'
|
|
|
|
|
|
maxRetryTimes: '3'
|
2022-07-20 14:32:58 +08:00
|
|
|
|
|
|
|
|
|
|
# 百度地图应用api
|
|
|
|
|
|
baidu:
|
|
|
|
|
|
ak: 'ZQTgMW7W0GTuE7Ripb0HDp5TqRaOI6PZ'
|
2022-07-28 02:00:18 +08:00
|
|
|
|
url: 'https://api.map.baidu.com/reverse_geocoding/v3/?ak=#AK#&output=json&coordtype=wgs84ll&location='
|
2022-08-01 15:51:49 +08:00
|
|
|
|
|
|
|
|
|
|
sms:
|
|
|
|
|
|
url: 'https://app.cloopen.com:8883'
|
|
|
|
|
|
account: '8a216da85f008800015f0eb223620557'
|
|
|
|
|
|
appId: '8a216da85f008800015f0eb224db055d'
|
|
|
|
|
|
token: '3cef1bc80d814637a236d93004e7ffa5'
|
2024-11-18 13:41:57 +08:00
|
|
|
|
|
|
|
|
|
|
# 阿里云api接口, 这里是身份证二要素的
|
|
|
|
|
|
aliyun:
|
|
|
|
|
|
accessKey: LTAI5tDmv3T3Ze1Mt9wi5Be6
|
|
|
|
|
|
accessSecret: EV4dzWRfKTQaPRjf3tFziMuVBCsThU
|
|
|
|
|
|
endpoint: dytnsapi.aliyuncs.com
|
2025-07-29 17:39:22 +08:00
|
|
|
|
authCode: od2FgE9a9g
|
|
|
|
|
|
|
|
|
|
|
|
# 物流API配置
|
2025-07-31 16:34:53 +08:00
|
|
|
|
# logistics:
|
|
|
|
|
|
# kdniao:
|
|
|
|
|
|
# # 快递鸟 API配置
|
|
|
|
|
|
# appId: '1889454' # 快递鸟应用ID,需要到快递鸟官网申请
|
|
|
|
|
|
# appKey: 'b2483529-807d-49af-b0e1-1ed218baa4db' # 快递鸟API密钥,需要到快递鸟官网申请
|
|
|
|
|
|
# url: 'https://api.kdniao.com/api/dist' # 快递鸟即时查询接口地址
|
2025-07-29 17:39:22 +08:00
|
|
|
|
# 快递鸟支持两种接口:
|
|
|
|
|
|
# 1. 即时查询接口:https://api.kdniao.com/api/dist
|
2025-07-31 16:34:53 +08:00
|
|
|
|
# 2. 物流跟踪接口:https://api.kdniao.com/Ebusiness/EbusinessOrderHandle.aspx
|
|
|
|
|
|
|
|
|
|
|
|
logistics:
|
|
|
|
|
|
# 阿里云快递查询API配置
|
|
|
|
|
|
aliyun:
|
|
|
|
|
|
# 阿里云API网关AppCode,需要在阿里云市场购买快递查询服务后获取
|
|
|
|
|
|
appCode: "78064b8aaa294f64ab07a285f129aea6"
|
|
|
|
|
|
# API主机地址
|
|
|
|
|
|
host: "https://kzexpress.market.alicloudapi.com"
|
|
|
|
|
|
# API路径
|
|
|
|
|
|
path: "/api-mall/api/express/query"
|