私域操盘手 - 微信号列表加友限制长度使用权重数据
This commit is contained in:
@@ -23,9 +23,7 @@ class ActivityWeigth implements WechatAccountWeightResultSetInterface
|
||||
)
|
||||
->value('activity');
|
||||
|
||||
$activity = json_decode($activity, true);
|
||||
|
||||
return $activity->yesterdayMsgCount ?? 0;
|
||||
return json_decode($activity)->yesterdayMsgCount ?? 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,7 +23,7 @@ class AgeWeight implements WechatAccountWeightResultSetInterface
|
||||
)
|
||||
->value('basic');
|
||||
|
||||
$basic = json_decode($basic, true);
|
||||
$basic = json_decode($basic);
|
||||
|
||||
// 如果没有设置账号注册时间,则默认今天,即账号年龄为0
|
||||
return $basic && isset($basic->registerDate) ? $basic->registerDate : date('Y-m-d', time());
|
||||
|
||||
Reference in New Issue
Block a user