WeChatFerry/clients/java/wechat-ferry-mvn/src/main/resources/application.yml

56 lines
1.3 KiB
YAML
Raw Normal View History

# 配置文件
# 服务端配置
server:
# 端口设置
port: 9201
spring:
# 配置应用信息
application:
# 应用名
name: wechat-ferry
# swagger适配
mvc:
pathmatch:
matching-strategy: ant_path_matcher
# 打成jar包必须添加如下配置才能找到页面
thymeleaf:
mode: HTML
cache: false
prefix: classpath:/templates
# 日志配置
logging:
config: classpath:logback-spring.xml
# 本服务参数
wechat:
ferry:
# DLL文件位置
dll-path: E:\WeChatFerry\clients\java\wechat-ferry-mvn\dll\sdk.dll
# socket端口
socket-port: 10086
# 需要开启消息处理的群
open-msg-groups:
- 53257911728@chatroom
# 接收消息转发开关
receive-msg-fwd-switch: false
# 接收消息转发URL
receive-msg-fwd-urls:
- http://localhost:9001/msg
# 发送消息前转发开关
send-msg-front-fwd-switch: false
# 发送消息前转发URL
send-msg-front-fwd-urls:
- http://localhost:9001/msg
# 发送消息后转发开关
send-msg-back-fwd-switch: false
# 发送消息后转发URL
send-msg-back-fwd-urls:
- http://localhost:9001/msg
# 调用第三方服务客户端成功状态码
third-party-ok-codes:
# key:状态码字段 val:状态码值
code: '200'