diff --git a/application/api/controller/User.php b/application/api/controller/User.php index 50fbf10..af5f57b 100644 --- a/application/api/controller/User.php +++ b/application/api/controller/User.php @@ -139,8 +139,7 @@ class User extends Api // $GuanYiCloud->addVip('oMRWOwVjcIuwpOW1XL4jIn7ngWfU', 'ceshi'); // } // dump($bool); -// $Infp = json_decode(json_encode(, true); - $info = json_decode('{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest rid: 604f8b86-35e79e71-2a52ba2d"}'); + $info = json_decode(json_encode(json_decode('{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest rid: 604f8b86-35e79e71-2a52ba2d"}'), true); dump($info['errcode']); }