修改首页接口

This commit is contained in:
2023-05-05 10:01:32 +08:00
parent 16a6e6dfcd
commit 226e3530b6
3 changed files with 44 additions and 17 deletions
+5 -5
View File
@@ -177,11 +177,11 @@ class IndexService extends BaseService
defer(function() use ($wg) {
$wg->done();
});
// $PatientDoctorService = new PatientDoctorService();
//
// if (!empty($user_info)) {
// $my_doctor = $PatientDoctorService->getIndexPatientDoctorLimit($user_info['client_user_id']);
// }
$PatientDoctorService = new PatientDoctorService();
if (!empty($user_info)) {
$my_doctor = $PatientDoctorService->getIndexPatientDoctorLimit($user_info['client_user_id']);
}
});
// 推荐医生