新增发送短信log记录
This commit is contained in:
@@ -202,6 +202,21 @@ class PatientFamilyController extends AbstractController
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取家庭成员用药记录列表
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function getFamilyProductRecord(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(PatientFamilyRequest::class);
|
||||
$request->scene('getFamilyProductRecordList')->validateResolved();
|
||||
|
||||
$patientFamilyService = new PatientFamilyService();
|
||||
$data = $patientFamilyService->getFamilyProductRecord();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 检测入参身份证号
|
||||
|
||||
@@ -87,6 +87,9 @@ class PatientFamilyRequest extends FormRequest
|
||||
'diagnosis_hospital',//确诊医院
|
||||
'drugs_name', // 家族病史
|
||||
],
|
||||
'getFamilyProductRecord' => [ // 获取家庭成员用药记录列表
|
||||
'family_id',
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -850,4 +850,24 @@ class PatientFamilyService extends BaseService
|
||||
|
||||
return success();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取家庭成员用药记录列表
|
||||
* @return array
|
||||
*/
|
||||
public function getFamilyProductRecord(): array
|
||||
{
|
||||
$user_info = $this->request->getAttribute("userInfo");
|
||||
|
||||
$family_id = $this->request->input('family_id');
|
||||
$page = $this->request->input('page', 1);
|
||||
$per_page = $this->request->input('per_page', 10);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return success();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user