瀏覽代碼

风控拉黑改为 403

kaka 4 年之前
父節點
當前提交
5c3d5d61bd
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      assets/script/game/data/LoginData.ts
  2. 1 1
      assets/script/mk/system/HttpSystem.ts

+ 1 - 1
assets/script/game/data/LoginData.ts

@@ -234,7 +234,7 @@ export class LoginData {
         }
         let response = await mk.http.sendRequest('checklogin', 'POST', JSON.stringify(data));
         if (response.errcode != 0) {
-            if (response.errcode == 4003) {
+            if (response.errcode == 403) {
                 gData.warnTipData.setSolution(4);
             }
             return;

+ 1 - 1
assets/script/mk/system/HttpSystem.ts

@@ -108,7 +108,7 @@ export default class HttpSystem {
         response.data = data;
 
         if (response.errcode != 0) {
-            if (response.errcode == 4003) {
+            if (response.errcode == 403) {
                 gData.warnTipData.setSolution(4);
             }
         }