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