cy状态判定
This commit is contained in:
parent
0aeee7a2cd
commit
637444f551
@ -141,7 +141,7 @@ class Set extends AdminController
|
|||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
if($httpCode == '200'){
|
if($httpCode == '200'){
|
||||||
$cy = json_decode($data);
|
$cy = json_decode($data);
|
||||||
if(!empty($cy)){
|
if($cy->code != 0)){
|
||||||
$cylevel = $cy->level;
|
$cylevel = $cy->level;
|
||||||
return $cylevel;
|
return $cylevel;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user