开启验证
This commit is contained in:
@@ -44,10 +44,10 @@ class PatientFamilyController extends AbstractController
|
||||
$request->scene('addFamily')->validateResolved();
|
||||
|
||||
// 检测入参身份证号
|
||||
// $res = $this->checkRequestIdCard();
|
||||
// if (!empty($res)) {
|
||||
// return $this->response->json(fail(HttpEnumCode::HTTP_ERROR, $res));
|
||||
// }
|
||||
$res = $this->checkRequestIdCard();
|
||||
if (!empty($res)) {
|
||||
return $this->response->json(fail(HttpEnumCode::HTTP_ERROR, $res));
|
||||
}
|
||||
|
||||
$patientFamilyService = new PatientFamilyService();
|
||||
$data = $patientFamilyService->addFamily();
|
||||
|
||||
Reference in New Issue
Block a user