|
@@ -28,6 +28,7 @@ class CheckWx
|
|
|
$employee = $employee->where('openid',$openid)->first();
|
|
|
if (empty($employee)) return response()->json(['code'=> 202,'msg'=>'用户信息不存在!','data'=>null]);
|
|
|
$employee = $employee->toArray();
|
|
|
+ if (empty($employee['mobile'])) return response()->json(['code'=> 202,'msg'=>'用户手机信息不存在!','data'=>null]);
|
|
|
|
|
|
$employee_id = $employee['employee_id'];
|
|
|
if(isset($data['checkWx'])){
|