...
|
...
|
@@ -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'],
|
...
|
...
|
|