From 637444f5519a6e787c2c0eccdf4d114c9255fe43 Mon Sep 17 00:00:00 2001 From: toogee Date: Sun, 5 Jan 2020 17:44:20 +0800 Subject: [PATCH] =?UTF-8?q?cy=E7=8A=B6=E6=80=81=E5=88=A4=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/Set.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/controller/Set.php b/app/admin/controller/Set.php index 4b1fdb0..3c0f0be 100644 --- a/app/admin/controller/Set.php +++ b/app/admin/controller/Set.php @@ -141,7 +141,7 @@ class Set extends AdminController curl_close($ch); if($httpCode == '200'){ $cy = json_decode($data); - if(!empty($cy)){ + if($cy->code != 0)){ $cylevel = $cy->level; return $cylevel; }