返利:修改返利逻辑
This commit is contained in:
@@ -41,6 +41,8 @@ export interface DicServerConst {
|
||||
readonly ACCESS_CODE_EXPIRE_TIME: number;
|
||||
// 是否跳过加密
|
||||
readonly SKIP_ENCODE: number;
|
||||
// 是否返利
|
||||
readonly NEED_REBATE: number;
|
||||
}
|
||||
|
||||
export const dicServerConst: DicServerConst = {} as DicServerConst;
|
||||
|
||||
@@ -165,4 +165,8 @@ export function canPay() {
|
||||
|
||||
export function isSkipEncode(isDevelop = false) {
|
||||
return gameData.serverConst.SKIP_ENCODE === 1 && isDevelop;
|
||||
}
|
||||
|
||||
export function needRebate() {
|
||||
return gameData.serverConst.NEED_REBATE == 1;
|
||||
}
|
||||
Reference in New Issue
Block a user