123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- # 项目相关配置
- xchat:
- # 名称
- name: 卿卿
- # 版本
- version: 1.0.0
- # 版权年份
- copyrightYear: 2019
- # 实例演示开关
- demoEnabled: false
- # 文件路径
- profile: /srv/server/chat-server/admin/file/
- # 获取ip地址开关
- addressEnabled: true
- # 开发环境配置
- server:
- # 服务器的HTTP端口,默认为80
- port: 8888
- servlet:
- # 应用的访问路径
- context-path: /
- tomcat:
- # tomcat的URI编码
- uri-encoding: UTF-8
- # tomcat最大线程数,默认为200
- max-threads: 800
- # Tomcat启动初始化的线程数,默认值25
- min-spare-threads: 30
- # 用户配置
- 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
- profiles:
- active: dev
- # 文件上传
- servlet:
- multipart:
- # 单个文件大小
- max-file-size: 100MB
- # 设置总上传的文件大小
- max-request-size: 200MB
- # 服务模块
- devtools:
- restart:
- # 热部署开关
- enabled: true
- # MyBatis
- mybatis:
- # 搜索指定包别名
- typeAliasesPackage: com.juxiao.xchat.module
- # 配置mapper的扫描,找到所有的mapper.xml映射文件
- mapperLocations: classpath:mybatis/**/*Mapper.xml
- # 加载全局的配置文件
- configLocation: classpath:mybatis/mybatis-config.xml
- # PageHelper分页插件
- pagehelper:
- helperDialect: mysql
- reasonable: true
- supportMethodsArguments: true
- params: count=countSql
- # Shiro
- shiro:
- user:
- # 登录地址
- loginUrl: /login
- # 权限认证失败地址
- unauthorizedUrl: /unauth
- # 首页地址
- indexUrl: /index
- # 验证码开关
- captchaEnabled: true
- # 验证码类型 math 数组计算 char 字符
- captchaType: char
- cookie:
- # 设置Cookie的域名 默认空,即当前访问的域名
- domain:
- # 设置cookie的有效访问路径
- path: /
- # 设置HttpOnly属性
- httpOnly: true
- # 设置Cookie的过期时间,天为单位
- maxAge: 30
- session:
- # Session超时时间(默认30分钟)
- expireTime: 30
- # 同步session到数据库的周期(默认1分钟)
- dbSyncPeriod: 1
- # 相隔多久检查一次session的有效性,默认就是10分钟
- validationInterval: 10
- # 同一个用户最大会话数,比如2的意思是同一个账号允许最多同时两个人登录(默认-1不限制)
- maxSession: 1
- # 踢出之前登录的/之后登录的用户,默认踢出之前登录的用户
- kickoutAfter: false
- # 防止XSS攻击
- xss:
- # 过滤开关
- enabled: true
- # 排除链接(多个用逗号分隔)
- excludes: /system/notice/*
- # 匹配链接
- urlPatterns: /system/*,/monitor/*,/tool/*
- # 代码生成
- gen:
- # 作者
- author: chris
- # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
- packageName: com.juxiao.xchat.module.xbd.domain
- # 自动去除表前缀,默认是true
- autoRemovePre: true
- # 表前缀(类名不会包含表前缀)
- tablePrefix:
- external:
- caih:
- clientId: b02lm9
- password: 12345678
- smsSendUrl: http://api.csms.caih.com/sms-partner/access/b02lm9/sendsms
- smsTemplate: 【qinqin】您的验证码:%s,2分钟内有效,请尽快完成验证。
- deviceIdDayLimit: 20
- uidDayLimit: 20
- netease:
- appKey: 70fe40606c96f6aa659e2bd06a54a6bb
- appSecret: 769530cb120d
- smsTemplateid: 9574417
- alarmSmsTemplateid: 9514563
- qiniu:
- accessUrl: https://pic.keliangbox.com/
- accessKey: osHLcU3V4dGwuCN3Q0I1GPxRuthP0gsK0dU7rBjx
- secretKey: L5kqMQHN40970eorqLjwypJYBf1QEYXT5I8SFz01
- bucket: hncx
- dingtalk:
- operationChatbot: https://oapi.dingtalk.com/robot/send?access_token=82fc500201f4d7da5495c4d5ae40d7880b625c04edf532388117239337fb7dad
- # 产品开发群
- developChatbot: https://oapi.dingtalk.com/robot/send?access_token=cd508442df5317b257c2ab232e602e0d60d10c8629a2588a4763efa2387583cb
- # 产品经理
- pm:
- - 13710159312
- programmer:
- - 15002037560
- tester:
- - 13760699443
- third:
- dingtalk:
- clientId: dingoaxnxsvmkddopbltis
- clientSecret: 3dDpZrl-cJxSBO9e23TS0UPt7bxJyGy0QWTEU7Jvu2zc_W4GLEWHO5k8RFdmj4TN
- redirectUri: http://console.hnyueqiang.com/auth/dingTalk/callback
- #声网
- agora:
- appId: 9cd492e46006470781b2ccf38368fd9e
- appCertificate: ddb17767ad8b4f66b0813984171f6330
- #数美
- sm:
- accessKey: BsQ5SA68Z6hbuLk1eaeh
- openAudioStream: http://audio-api.fengkongcloud.com/v2/saas/anti_fraud/audiostream
- queryAudioStream: http://audio-api.fengkongcloud.com/v2/saas/anti_fraud/query_audiostream
- closeAudioStream: http://audio-api.fengkongcloud.com/v2/saas/anti_fraud/finish_audiostream
- callback: http://console.hnyueqiang.com/fk/cloud/smAudioCallBack
|