...
|
...
|
@@ -248,9 +248,9 @@ class User extends Api |
|
|
{
|
|
|
$param = $this->request->param();
|
|
|
$user_id = $this->is_token($this->request->header());
|
|
|
if (!empty($param['mobile']) || $param['mobile'] != '' || $param['mobile'] != "" || $param['mobile'] != null) {
|
|
|
$mobile = Db::name('user')->where('id', $user_id)->value('mobile');
|
|
|
$this->CheckCode($mobile, $param['code']);
|
|
|
$UserInfoMobile = Db::name('user')->where('id', $user_id)->value('mobile');
|
|
|
if ($UserInfoMobile != $param['mobile']) {
|
|
|
$this->CheckCode($UserInfoMobile, $param['code']);
|
|
|
$data = [
|
|
|
'mobile' => $param['mobile'],
|
|
|
'car_num' => $param['car_num'],
|
...
|
...
|
@@ -782,7 +782,7 @@ class User extends Api |
|
|
die;
|
|
|
}
|
|
|
if (empty($param['images']) || $param['images'] == null || $param['images'] == '' || $param['images'] == "") {
|
|
|
$this->error('请上传洗车图');
|
|
|
$this->error('请上传洗车图');
|
|
|
}
|
|
|
$data = [
|
|
|
'xi_type' => $param['type'],
|
...
|
...
|
|