新增获取用户地址。修改获取检测机构合作医生列表接口,拆分为两个接口
This commit is contained in:
@@ -29,6 +29,12 @@ class DetectionRequest extends FormRequest
|
||||
'detection_bar_code',
|
||||
'detection_pic',
|
||||
],
|
||||
'getDetectionDoctorList' => [ // 绑定检测管
|
||||
'province_id',
|
||||
'city_id',
|
||||
'county_id',
|
||||
'company_id'
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -53,6 +59,8 @@ class DetectionRequest extends FormRequest
|
||||
'doctor_id' => 'required',
|
||||
'client_type' => 'required|integer|min:1|max:2',
|
||||
'detection_bar_code' => 'required',
|
||||
'province_id' => 'required_with:city_id,county_id',
|
||||
'city_id' => 'required_with:county_id',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -73,6 +81,8 @@ class DetectionRequest extends FormRequest
|
||||
'client_type.min' => HttpEnumCode::getMessage(HttpEnumCode::CLIENT_HTTP_ERROR),
|
||||
'client_type.max' => HttpEnumCode::getMessage(HttpEnumCode::CLIENT_HTTP_ERROR),
|
||||
'detection_bar_code.required' => HttpEnumCode::getMessage(HttpEnumCode::CLIENT_HTTP_ERROR),
|
||||
'province_id.required_with' => "请选择省份",
|
||||
'city_id.required_with' => "请选择城市",
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user