feat(推送): 推送修改为向全院推送

This commit is contained in:
luying
2023-04-23 20:23:37 +08:00
parent d337517afd
commit 9b3f0c7a0f
5 changed files with 29 additions and 26 deletions
+1 -1
View File
@@ -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;
}
+2 -2
View File
@@ -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() {
+1 -1
View File
@@ -36,6 +36,6 @@
"CAN_PAY": 1,
"SKIP_ENCODE": 0,
"NEED_REBATE": 0,
"PUSH_MSG": 0,
"PUSH_MSG_ENV": "zy1",
"CLOSE_SCRIPT_BARRAGE": 1
}