update 首单订单详情

This commit is contained in:
chenbo 2024-01-22 17:37:44 +08:00
parent fffcb10924
commit fc2b61c575
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ class UserLogic extends BaseLogic
$data['register_num'] = $inviteUserStatistics['data']['user_count']; $data['register_num'] = $inviteUserStatistics['data']['user_count'];
// $data['merchant_num'] = $inviteUserStatistics['data']['merchant_count']; // $data['merchant_num'] = $inviteUserStatistics['data']['merchant_count'];
$data['trade_amount'] = Db::name('user_invite_first_order_log')->where('user_id', $userId)->sum('order_money'); $data['trade_amount'] = Db::name('user_invite_first_order_log')->where('user_id', $userId)->sum('order_money');
$data['share_url'] = env('url.shop_prefix').'/download/index.html?code='.$data['invite_code'];
return $data; return $data;
} }