✨ feat(37需求): 推送添加开关

This commit is contained in:
luying
2023-04-10 15:55:09 +08:00
parent de6f6a9ec1
commit 63712b1456
7 changed files with 55 additions and 18 deletions
+2 -2
View File
@@ -167,8 +167,8 @@ export async function treatGuildName(content: string) {
}
// 37接口 消息推送
export async function pushMsg37(time: number, dic: DicPushMessage, target: SDK_PUSH_TARGET_TYPE, audience: string) {
let body = new PushMsg37Param(time);
export async function pushMsg37(code: string, dic: DicPushMessage, target: SDK_PUSH_TARGET_TYPE, audience: string) {
let body = new PushMsg37Param(code);
body.setMsgInfo(dic, target, audience);
return await request37PushMessage(SDK_37_ADDR.PUSH_MSG, body, SDK_37_CONST.PUSH_KEY);
}