From a6fb4103326aab52c543cc18ae4bce515186fc1b Mon Sep 17 00:00:00 2001 From: 王智 <wz@bronet.cn> Date: Tue, 16 Mar 2021 13:10:47 +0800 Subject: [PATCH] 文档修改 --- application/api/controller/User.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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']); } -- libgit2 0.24.0