Commit 72637865 by 朱继来

添加用户来源判断

parent db5830ed
Showing with 2 additions and 0 deletions
......@@ -200,6 +200,8 @@ function isNewClient($order_goods_type, $user_id, $create_time)
// 用户来源
function clientSource($user_id)
{
if (!$user_id) return false;
$user = DB::connection('order')->table('lie_user_main')->where('user_id', $user_id)->select('client_source')->first();
return $user->client_source;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment