✨ feat(推送): 推送修改为向全院推送
This commit is contained in:
@@ -54,7 +54,7 @@ export interface DicServerConst {
|
||||
// 是否返利
|
||||
readonly NEED_REBATE: number;
|
||||
// 推送
|
||||
readonly PUSH_MSG: number;
|
||||
readonly PUSH_MSG_ENV: string;
|
||||
// 是否关闭剧情弹幕
|
||||
readonly CLOSE_SCRIPT_BARRAGE: number;
|
||||
}
|
||||
|
||||
@@ -190,8 +190,8 @@ export function needRebate() {
|
||||
return gameData.serverConst.NEED_REBATE == 1;
|
||||
}
|
||||
|
||||
export function needPushMsg() {
|
||||
return gameData.serverConst.PUSH_MSG == 1;
|
||||
export function needPushMsg(env: string) {
|
||||
return gameData.serverConst.PUSH_MSG_ENV == env;
|
||||
}
|
||||
|
||||
export function closeScriptBarrage() {
|
||||
|
||||
@@ -36,6 +36,6 @@
|
||||
"CAN_PAY": 1,
|
||||
"SKIP_ENCODE": 0,
|
||||
"NEED_REBATE": 0,
|
||||
"PUSH_MSG": 0,
|
||||
"PUSH_MSG_ENV": "zy1",
|
||||
"CLOSE_SCRIPT_BARRAGE": 1
|
||||
}
|
||||
Reference in New Issue
Block a user