# 项目相关配置 ruoyi: # 名称 name: RuoYi # 版本 version: 3.8.8 # 版权年份 copyrightYear: 2024 # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) profile: D:/ruoyi/uploadPath # 获取ip地址开关 addressEnabled: false # 验证码类型 math 数字计算 char 字符验证 captchaType: math # 开发环境配置 server: # 服务器的HTTP端口,默认为8080 port: 9091 servlet: # 应用的访问路径 context-path: / tomcat: # tomcat的URI编码 uri-encoding: UTF-8 # 连接数满后的排队数,默认为100 accept-count: 1000 threads: # tomcat最大线程数,默认为200 max: 800 # Tomcat启动初始化的线程数,默认值10 min-spare: 100 # 日志配置 logging: level: com.ruoyi: debug org.springframework: warn # 用户配置 user: password: # 密码最大错误次数 maxRetryCount: 5 # 密码锁定时间(默认10分钟) lockTime: 10 # Spring配置 spring: # 资源信息 messages: # 国际化资源文件路径 basename: i18n/messages profiles: active: local # 文件上传 servlet: multipart: # 单个文件大小 max-file-size: 10MB # 设置总上传的文件大小 max-request-size: 20MB # 服务模块 devtools: restart: # 热部署开关 enabled: true # redis 配置 # token配置 token: # 令牌自定义标识 header: Authorization # 令牌密钥 secret: Abc123!@#Def456$%^Ghi789&*()Jkl0+-=MnoPqrStuVwxYz987$%^654@#$321!@#ZyxWvu # 令牌有效期(默认30分钟) expireTime: 30 ## MyBatis配置 #mybatis: # # 搜索指定包别名 # typeAliasesPackage: com.ruoyi.**.domain # # 配置mapper的扫描,找到所有的mapper.xml映射文件 # mapperLocations: classpath*:mapper/**/*Mapper.xml # # 加载全局的配置文件 # configLocation: classpath:mybatis/mybatis-config.xml # PageHelper分页插件 pagehelper: helperDialect: oracle supportMethodsArguments: true params: count=countSql # Swagger配置 swagger: # 是否开启swagger enabled: true # 请求前缀 pathMapping: # 防止XSS攻击 xss: # 过滤开关 enabled: true # 排除链接(多个用逗号分隔) excludes: /system/notice # 匹配链接 urlPatterns: /system/*,/monitor/*,/tool/* createSqlSessionFactory: # 选择MyBatis配置方式,mybatis / mybatis-plus use: mybatis-plus # MyBatis配置 mybatis: # 搜索指定包别名 typeAliasesPackage: com.ruoyi.**.domain # 配置mapper的扫描,找到所有的mapper.xml映射文件 mapperLocations: classpath*:mapper/**/*Mapper.xml # 加载全局的配置文件 configLocation: classpath:mybatis/mybatis-config.xml # MyBatis Plus配置 mybatis-plus: # 搜索指定包别名 typeAliasesPackage: com.ruoyi.**.domain # 配置mapper的扫描,找到所有的mapper.xml映射文件 mapperLocations: classpath*:mapper/**/*Mapper.xml # 加载全局的配置文件 configLocation: classpath:mybatis/mybatis-config.xml global-config: db-config: # 标识逻辑删除的数据库字段名称 logic-delete-field: delFlag # 表示已逻辑删除的值(默认也是如此) logic-delete-value: 2 # 表示未逻辑删除的值(默认也是如此) logic-not-delete-value: 0 file: upload-dir: /data/file #微信小程序 wx: appid: wx4aa34488b965a331 secret: 558780ecc2750f87e556b0e5496773c9 #统一门户认证 oauth: #客户端的ID appid: 251112100000000015 #授权码 clientsecretkey: 2a44cb8d21dcf4b0777881ca11ea0d83ebea94bbe1ab1f405508db0873cdcc99 #内网 usptnw: #获取访问令牌 nwGatewayGetTokenUrl: http://10.98.80.146/uspt/serviceAPI/getToken #获取用户信息 nwGatewayGetUserInfoUrl: http://10.98.80.146/uspt/serviceAPI/getUserInfo #外网 usptww: #门户注册 wwRegisterPostUrl: http://10.98.80.50/uspt/webWhiteListServiceAPI/doWebRegister #门户登录 wwTokenPostUrl: http://10.98.80.50/uspt/webWhiteListServiceAPI/doWebLogon #查询用户信息 wwQueryWebUserInfo: http://10.98.80.50/uspt/webWhiteListServiceAPI/queryWebUserInfo #查询个人信息 wwQueryWebPersonalInfoPostUrl: http://10.98.80.50/uspt/webWhiteListServiceAPI/queryWebPersonalInfo #查询单位信息 wwQueryWebEnterpriseInfoPostUrl: http://10.98.80.50/uspt//webWhiteListServiceAPI/queryWebEnterpriseInfo #用户新增接口 tyAddUserUrl: http://10.98.80.146/qxgl_backend/security/add_user #获取当前用户有权系统列表 tyQueryUserSysListUrl: http://10.98.80.146/qxgl_backend/security/get_effective_app_list #获取当前用户有权角色列表 tyQueryUserRoleListUrl: http://10.98.80.146/qxgl_backend/security/get_role_by_userid #获取角色功能权限信息 tyQueryRoleInfoUrl: http://10.98.80.146/qxgl_backend/security/get_path_by_role #获取用户详细信息 tyQueryUserInfo: http://10.98.80.146/qxgl_backend/security/get_user_by_userid #获取机构详细信息 tyQueryUnitInfo: http://10.98.80.146/qxgl_backend/security/get_organization_by_organizationid connect-timeout: 10 read-timeout: 30 write-timeout: 30 #ai chat: baseUrl: http://39.98.44.136:8082 chatUrl: /v1/chat/completions chatDetailUrl: /core/chat/getPaginationRecords chatHistoryUrl: /core/chat/getHistories updateNameUrl: /core/chat/updateHistory stickChatUrl: /core/chat/updateHistory delChatUrl: /core/chat/delHistory delAllChatUrl: /core/chat/clearHistories guestUrl: /v1/chat/completions praiseUrl: /core/chat/feedback/updateUserFeedback appId: 67cd49095e947ae0ca7fadd8 apiKey: fastgpt-qMl63276wPZvKAxEkW77bur0sSJpmuC6Ngg9lzyEjufLhsBAurjT55j model: qd-job-turbo audioText: asr: http://127.0.0.1:8001/asr/file tts: http://127.0.0.1:19527/synthesize