增加mysql链接吃数量 暂时去除首页我的一生
This commit is contained in:
@@ -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']);
|
||||
// }
|
||||
});
|
||||
|
||||
// 推荐医生
|
||||
|
||||
Reference in New Issue
Block a user