Commit 665e8fd2 by 朱继来

Merge branch 'zjl_export_20180730' into development

parents 9a971e58 72637865
Showing with 2 additions and 0 deletions
...@@ -200,6 +200,8 @@ function isNewClient($order_goods_type, $user_id, $create_time) ...@@ -200,6 +200,8 @@ function isNewClient($order_goods_type, $user_id, $create_time)
// 用户来源 // 用户来源
function clientSource($user_id) 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(); $user = DB::connection('order')->table('lie_user_main')->where('user_id', $user_id)->select('client_source')->first();
return $user->client_source; 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