私域操盘手 - 微信号详情/好友列表功能返工
This commit is contained in:
@@ -23,13 +23,8 @@ class GetWechatOnDeviceFriendsV1Controller extends Controller
|
|||||||
$resultSets = [];
|
$resultSets = [];
|
||||||
|
|
||||||
foreach ($result->items() as $item) {
|
foreach ($result->items() as $item) {
|
||||||
|
$item->tags = json_decode($item->tags);
|
||||||
|
array_push($resultSets, $item->toArray());
|
||||||
dd($item);
|
|
||||||
|
|
||||||
$sections = $item->toArray() + [];
|
|
||||||
|
|
||||||
array_push($resultSets, $sections);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return $resultSets;
|
return $resultSets;
|
||||||
@@ -81,8 +76,6 @@ class GetWechatOnDeviceFriendsV1Controller extends Controller
|
|||||||
throw new \Exception('微信账号不存在', 404);
|
throw new \Exception('微信账号不存在', 404);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'udbfnvtk';
|
|
||||||
|
|
||||||
return $account->wechatId;
|
return $account->wechatId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user