维护用户销售统计——脚本

This commit is contained in:
wanyongkang
2020-11-25 13:28:22 +08:00
parent 4277316661
commit 191bdad884
2 changed files with 3 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ $user_model->updateOne(['Id' => ['in', $cost_overtime_user_id_list]], ['follow_s
$all_last_cost = $product_order_model->getUserCostTime();
$user_last_cost_id = [];
$all_last_cost_list = [];
foreach ($all_last_costas as $info) {
foreach ($all_last_cost as $info) {
$all_last_cost_list[$info['UserId']] = $info;
$user_last_cost_id[] = $info['UserId'];
}