diff --git a/frontend/controllers/CarController.php b/frontend/controllers/CarController.php index 6875f58..dbad272 100644 --- a/frontend/controllers/CarController.php +++ b/frontend/controllers/CarController.php @@ -4187,8 +4187,8 @@ class CarController extends BaseController $obj = json_decode($msg,true); $result = array(); // $result['success'] = true; - if($obj['success']) { - $result['msg'] = $obj['msg']; + if($obj['code'] == 200) { + $result['msg'] = $obj['data']; }else{ $result['msg'] = $obj['msg']; }