调试红包活动
This commit is contained in:
parent
a481acd160
commit
1016037ac3
@ -118,7 +118,7 @@ class StoreActivityUserDao extends BaseDao
|
|||||||
->where('is_first_order', StoreActivityOrder::IS_FIRST_ORDER)
|
->where('is_first_order', StoreActivityOrder::IS_FIRST_ORDER)
|
||||||
->where('total_amount', '>=', $scope['start'])
|
->where('total_amount', '>=', $scope['start'])
|
||||||
->where('status', StoreActivityOrder::STATUS_VALID)
|
->where('status', StoreActivityOrder::STATUS_VALID)
|
||||||
->select();
|
->select()->toArray();
|
||||||
$orders = reset_index($orders, 'user_id');
|
$orders = reset_index($orders, 'user_id');
|
||||||
foreach ($userInfo as &$user) {
|
foreach ($userInfo as &$user) {
|
||||||
$user['target_amount'] = $scope['start'];
|
$user['target_amount'] = $scope['start'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user