推送项目重构代码

This commit is contained in:
2026-05-30 15:32:57 +08:00
parent 3dafaceef2
commit a28ea44cab
53 changed files with 3525 additions and 731 deletions

View File

@@ -177,10 +177,14 @@ sms:
--- # OpenIM 集成
openim:
# OpenIM 核心 API 地址admin token、发消息
api-url: http://49.232.154.205:10002
# OpenIM chat 业务 API 地址(手机号注册/查询,可选)
chat-url: http://49.232.154.205:10008
# OpenIM 核心 API 地址 — 走 nginx 网关 :10006/api直连 :10002 端口外网未开放
api-url: http://49.232.154.205:10006/api
# 给前端 SDK 用的 API 地址
public-api-url: http://49.232.154.205:10006/api
# WebSocket 长连接地址(与手机端一致)
ws-url: ws://49.232.154.205:10006/msg_gateway
# OpenIM chat 业务 API 地址
chat-url: http://49.232.154.205:10006/chat
# 与 OpenIM share.yml 中保持一致的 secret
secret: openIM123
# 管理员 userIDchat share.yml 中 adminUserID

View File

@@ -175,3 +175,22 @@ sms:
signName: 测试
# 腾讯专用
sdkAppId:
--- # OpenIM 集成
openim:
# OpenIM 核心 API 地址 — 走 nginx 网关 :10006/api直连 :10002 端口外网未开放)
api-url: http://49.232.154.205:10006/api
# 给前端 SDK 用的 API 地址
public-api-url: http://49.232.154.205:10006/api
# WebSocket 长连接地址(与手机端一致)
ws-url: ws://49.232.154.205:10006/msg_gateway
# OpenIM chat 业务 API 地址
chat-url: http://49.232.154.205:10006/chat
# 与 OpenIM share.yml 中保持一致的 secret
secret: openIM123
# 管理员 userIDchat share.yml 中 adminUserID
admin-user-id: imAdmin
# 发送系统消息时显示的发送者
notification-sender: imAdmin
enabled: true