✨ feat(37需求): 推送添加开关
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user