加密:增加可以选择不加密
This commit is contained in:
@@ -39,6 +39,8 @@ export interface DicServerConst {
|
||||
readonly TIME_STAMP_OVER: number;
|
||||
// 请求参数过期时间
|
||||
readonly ACCESS_CODE_EXPIRE_TIME: number;
|
||||
// 是否跳过加密
|
||||
readonly SKIP_ENCODE: number;
|
||||
}
|
||||
|
||||
export const dicServerConst: DicServerConst = {} as DicServerConst;
|
||||
|
||||
@@ -161,4 +161,8 @@ export function isCheckWord(isDevelop = false) {
|
||||
|
||||
export function canPay() {
|
||||
return gameData.serverConst.CAN_PAY === 1;
|
||||
}
|
||||
|
||||
export function isSkipEncode(isDevelop = false) {
|
||||
return gameData.serverConst.SKIP_ENCODE === 1 && isDevelop;
|
||||
}
|
||||
Reference in New Issue
Block a user