From fa4ade4b35c11de9a64384fb20f4429f6f774ae2 Mon Sep 17 00:00:00 2001 From: "HESU\\HESU" <1696136552@qq.com> Date: Mon, 21 Jul 2025 09:45:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E6=9D=83=E4=BF=A1=E6=81=AF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/www.iml | 20 -------------------- app/controller/AreaController.php | 20 ++++++++++---------- app/view/index/privacy.html | 2 +- app/view/index/user.html | 2 +- 4 files changed, 12 insertions(+), 32 deletions(-) delete mode 100644 .idea/www.iml diff --git a/.idea/www.iml b/.idea/www.iml deleted file mode 100644 index 946c4f1..0000000 --- a/.idea/www.iml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/controller/AreaController.php b/app/controller/AreaController.php index c935393..349ebc2 100644 --- a/app/controller/AreaController.php +++ b/app/controller/AreaController.php @@ -47,17 +47,17 @@ class AreaController { $list = RedisHelper::get("rpc_country"); $list = null; - if(!$list){ - $res = HttpClient::get(config('const.rpc_domain') . '/country/all'); - if ($res['code'] != 200 && $res['data']['code'] != 0){ - Log::info('register_rpc',$res); - return Util::fail($res, trans('register_fail')); - } - $list = $res['data']['data']['data']; - RedisHelper::set("rpc_country", $list, 600); - } +// if(!$list){ +// $res = HttpClient::get(config('const.rpc_domain') . '/country/all'); +// if ($res['code'] != 200 && $res['data']['code'] != 0){ +// Log::info('register_rpc',$res); +// return Util::fail($res, trans('register_fail')); +// } +// $list = $res['data']['data']['data']; +// RedisHelper::set("rpc_country", $list, 600); +// } -// $list = Country::get()->toArray(); + $list = Country::get()->toArray(); $language = 'en_addr'; if($request->user['language'] == 'zh_CN'){ $language = 'cn_addr'; diff --git a/app/view/index/privacy.html b/app/view/index/privacy.html index 8663cc6..75a5db6 100644 --- a/app/view/index/privacy.html +++ b/app/view/index/privacy.html @@ -97,7 +97,7 @@ diff --git a/app/view/index/user.html b/app/view/index/user.html index c438ff1..361a863 100644 --- a/app/view/index/user.html +++ b/app/view/index/user.html @@ -90,7 +90,7 @@

2. 如因本协议产生争议,双方应友好协商解决;协商不成的,任何一方可向 管辖地 有管辖权的人民法院提起诉讼。