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; }