|
|
|
@ -31,7 +31,7 @@ class OrderController extends Controller
|
|
|
|
$user = DB::table('web_users')->where(['openid' => $openid, 'is_del' => 0])->first();
|
|
|
|
$user = DB::table('web_users')->where(['openid' => $openid, 'is_del' => 0])->first();
|
|
|
|
if (!$user) return \Yz::echoError1("openid对应用户不存在");
|
|
|
|
if (!$user) return \Yz::echoError1("openid对应用户不存在");
|
|
|
|
$persons_sfz = DB::table('web_user_person')->where(['user_id' => $user->id, 'is_del' => 0])->pluck('id_number')->toArray();
|
|
|
|
$persons_sfz = DB::table('web_user_person')->where(['user_id' => $user->id, 'is_del' => 0])->pluck('id_number')->toArray();
|
|
|
|
$where=['web_user_id' => $user->id];
|
|
|
|
$where=[];
|
|
|
|
if(isset($searchInfo['status'])){
|
|
|
|
if(isset($searchInfo['status'])){
|
|
|
|
$where['status'] = $searchInfo['status'];
|
|
|
|
$where['status'] = $searchInfo['status'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|