私域操盘手 - 账号详情/账号概览 对接

This commit is contained in:
柳清爽
2025-05-12 11:58:13 +08:00
parent 5ee85f7d7f
commit bd9f070195
4 changed files with 261 additions and 313 deletions

View File

@@ -70,13 +70,13 @@ class GetWechatOnDeviceSummarizeV1Controller extends BaseController
return [
[
'id' => 1,
'type' => 'warnnig',
'level' => 2,
'reason' => '频繁添加好友',
'date' => date('Y-m-d H:i:s', strtotime('-1 day')),
],
[
'id' => 2,
'type' => 'error',
'level' => 3,
'reason' => '营销内容违规',
'date' => date('Y-m-d H:i:s', strtotime('-1 day')),
],
@@ -228,7 +228,7 @@ class GetWechatOnDeviceSummarizeV1Controller extends BaseController
protected function getStatistics(string $wechatId, array $accountWeight): array
{
return [
'addedCount' => $this->getTodayNewFriendCount($wechatId),
'todayAdded' => $this->getTodayNewFriendCount($wechatId),
'addLimit' => $this->_calAllowedFriends($accountWeight['scope'])
];
}