Commit 6913840d by 朱继来

调整

parent de7df6c3
Showing with 1 additions and 1 deletions
......@@ -144,7 +144,7 @@ function isNewClient($order_goods_type, $user_id, $create_time)
$user = DB::connection('order')->table('lie_user_main')->where('user_id', $user_id)->first();
// return empty($order) && empty($user->client_source) ? true : false;
return $user->is_new == 0 && empty($user->client_source) ? true : false;
return $user && $user->is_new == 0 && empty($user->client_source) ? true : false;
}
// 用户来源
......
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