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