添加 @kevisual/api 依赖,更新 WebSocket 消息发送逻辑,支持上下文参数
This commit is contained in:
@@ -282,6 +282,8 @@ app
|
||||
ctx.throw('app 未发现');
|
||||
}
|
||||
if (detect) {
|
||||
const appKey = appList.key;
|
||||
const version = appList.version;
|
||||
// 自动检测最新版本
|
||||
const res = await callDetectAppVersion({ appKey, version, username: username || tokenUser.username }, ctx.query.token);
|
||||
if (res.code !== 200) {
|
||||
|
||||
Reference in New Issue
Block a user