diff --git a/Server/application/cunkebao/controller/wechat/GetWechatOnDeviceFriendsV1Controller.php b/Server/application/cunkebao/controller/wechat/GetWechatOnDeviceFriendsV1Controller.php index ebdc63b8..622e7899 100644 --- a/Server/application/cunkebao/controller/wechat/GetWechatOnDeviceFriendsV1Controller.php +++ b/Server/application/cunkebao/controller/wechat/GetWechatOnDeviceFriendsV1Controller.php @@ -23,13 +23,8 @@ class GetWechatOnDeviceFriendsV1Controller extends Controller $resultSets = []; foreach ($result->items() as $item) { - - - dd($item); - - $sections = $item->toArray() + []; - - array_push($resultSets, $sections); + $item->tags = json_decode($item->tags); + array_push($resultSets, $item->toArray()); } return $resultSets; @@ -81,8 +76,6 @@ class GetWechatOnDeviceFriendsV1Controller extends Controller throw new \Exception('微信账号不存在', 404); } - return 'udbfnvtk'; - return $account->wechatId; }