Jelajahi Sumber

修改接口密码

lcl 7 bulan lalu
induk
melakukan
d32fcbd14f
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      Controllers/Base/ApiPubController.cs

+ 2 - 2
Controllers/Base/ApiPubController.cs

@@ -243,7 +243,7 @@ namespace Controllers
             value = DesDecrypt(value);
             JsonData data = JsonMapper.ToObject(value);
             string key = data["key"].ToString();
-            if(key != "tel#2024")
+            if(key != "llb#2024")
             {
                 return Json(new AppResultJson() { Status = "-1", Info = "无权限" });
             }
@@ -316,7 +316,7 @@ namespace Controllers
             value = DesDecrypt(value);
             JsonData data = JsonMapper.ToObject(value);
             string key = data["key"].ToString();
-            if(key != "tel#2024")
+            if(key != "llb#2024")
             {
                 return Json(new AppResultJson() { Status = "-1", Info = "无权限" });
             }