add 新供销用户邀请信息统计
This commit is contained in:
parent
5eae62ce24
commit
49664ea799
@ -499,7 +499,7 @@ class Statistics extends BaseController
|
||||
// 用户注册数
|
||||
$datas['user_count'] = Db::name('user')->where('promotion_code', $promotionCode)->count();
|
||||
|
||||
$userIds = Db::name('user')->where('promotion_code', $promotionCode)->value('uid');
|
||||
$userIds = Db::name('user')->where('promotion_code', $promotionCode)->column('uid');
|
||||
|
||||
// 商户数
|
||||
$datas['merchant_count'] = Merchant::whereIn('uid', $userIds)->count();
|
||||
|
Loading…
x
Reference in New Issue
Block a user