私域操盘手 - 微信号详情/好友列表功能返工

This commit is contained in:
柳清爽
2025-05-12 16:29:23 +08:00
parent dbf6bb592a
commit 434e8deca6

View File

@@ -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;
}