增加mysql链接吃数量 暂时去除首页我的一生

This commit is contained in:
2023-05-05 09:45:56 +08:00
parent 186ba478ff
commit 16a6e6dfcd
2 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -170,18 +170,18 @@ class IndexService extends BaseService
$module = ModuleModel::getList($params);
});
// 我的医生
$my_doctor = [];
co(function () use ($wg, &$my_doctor,$user_info) {
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']);
// }
});
// 推荐医生