✨ 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
+3 -3
View File
@@ -397,11 +397,11 @@ export class PushMsg37Param {
source: number; // 推送来源表
type: string; // 推送内容
constructor(time: number) {
this.notify_id = time.toString();
constructor(code: string) {
this.notify_id = code;
this.game_id = SDK_37_CONST.PUSH_GAME_ID;
// this.c_game_id = SDK_37_CONST.FX_C_GAME_ID;
this.time = Math.floor(time/1000).toString();
this.time = Math.floor(Date.now()/1000).toString();
this.source = 0; // 0: 游戏内
}