cy状态判定

This commit is contained in:
toogee 2020-01-05 17:44:20 +08:00
parent 0aeee7a2cd
commit 637444f551

View File

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