修正路由
This commit is contained in:
+10
-6
@@ -25,7 +25,6 @@ use App\Controller\PatientCenterController;
|
||||
use App\Controller\PatientDoctorController;
|
||||
use App\Controller\PatientFamilyController;
|
||||
use App\Controller\PatientOrderController;
|
||||
use App\Controller\PatientPathographyController;
|
||||
use App\Controller\SafeController;
|
||||
use App\Controller\SystemController;
|
||||
use App\Controller\TestController;
|
||||
@@ -381,6 +380,15 @@ Router::addGroup('/patient', function () {
|
||||
// 获取家庭成员用药记录列表
|
||||
Router::get('/record', [PatientFamilyController::class, 'getFamilyProductRecord']);
|
||||
});
|
||||
|
||||
// 病情记录
|
||||
Router::addGroup('/pathography', function () {
|
||||
// 检测家庭成员是否存在病情记录
|
||||
Router::get('/exist/{family_id:\d+}', [PatientFamilyController::class, 'existFamilyPathography']);
|
||||
|
||||
// // 获取家庭成员病情记录列表-分页
|
||||
// Router::get('/exist/{family_id:\d+}', [PatientPathographyController::class, 'existFamilyPathography']);
|
||||
});
|
||||
});
|
||||
|
||||
// 药品
|
||||
@@ -487,11 +495,7 @@ Router::addGroup('/patient', function () {
|
||||
Router::get('/system/last', [MessageNoticeController::class, 'getPatientMessageServiceLast']);
|
||||
});
|
||||
|
||||
// 病情记录
|
||||
Router::addGroup('/pathography', function () {
|
||||
// 检测家庭成员是否存在病情记录
|
||||
Router::get('/exist/{family_id:\d+}', [PatientPathographyController::class, 'existFamilyPathography']);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
// 药师端api
|
||||
|
||||
Reference in New Issue
Block a user