diff --git a/app/Common/Common.php b/app/Common/Common.php index 4789e4b..6dc14b9 100644 --- a/app/Common/Common.php +++ b/app/Common/Common.php @@ -1,5 +1,6 @@ request->input('code'); $phone = $this->request->input('phone'); $user_type = $this->request->input('user_type'); diff --git a/app/Services/PatientFamilyService.php b/app/Services/PatientFamilyService.php index e13a321..87fbcca 100644 --- a/app/Services/PatientFamilyService.php +++ b/app/Services/PatientFamilyService.php @@ -863,6 +863,7 @@ class PatientFamilyService extends BaseService $page = $this->request->input('page', 1); $per_page = $this->request->input('per_page', 10); + $params = array(); diff --git a/config/routes.php b/config/routes.php index 81f1f28..233b92d 100644 --- a/config/routes.php +++ b/config/routes.php @@ -296,7 +296,7 @@ Router::addGroup('/patient', function () { // 药品 Router::addGroup('/product', function () { // 获取家庭成员用药记录列表 - Router::get('/record', [PatientFamilyController::class, 'getFamilyProductRecordList']); + Router::get('/record', [PatientFamilyController::class, 'getFamilyProductRecord']); }); });