update
This commit is contained in:
parent
18b733ec6b
commit
b136ea6019
@ -59,7 +59,7 @@ class VehicleValidate extends BaseValidate
|
||||
*/
|
||||
public function sceneAdd()
|
||||
{
|
||||
return $this->only(['license','gps_imei','type','status']);
|
||||
return $this->only(['license','gps_imei']);
|
||||
}
|
||||
|
||||
|
||||
|
@ -102,6 +102,7 @@ class VehicleController extends BaseApiController
|
||||
public function updateVehicleRent(){
|
||||
//获取参数
|
||||
$params = $this->request->post(['car_id','use_user_id','use_user_name','use_user_phone']);
|
||||
dump($params);die;
|
||||
if(empty($params['car_id']) || empty($params['use_user_id']) || empty($params['use_user_name']) || empty($params['use_user_phone'])){
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user