修正全部分页问题
This commit is contained in:
@@ -87,7 +87,7 @@ class PatientDoctorService extends BaseService
|
||||
"be_good_at",
|
||||
];
|
||||
|
||||
$user_doctors = UserDoctor::getInquiryDoctorPage($keyword, $hospital_params, $doctor_params, $doctor_expertise_params, $sort_order, $fields,$per_page);
|
||||
$user_doctors = UserDoctor::getInquiryDoctorPage($keyword, $hospital_params, $doctor_params, $doctor_expertise_params, $sort_order, $fields,$page,$per_page);
|
||||
|
||||
// 处理数据
|
||||
if (!empty($user_doctors['data'])) {
|
||||
@@ -410,12 +410,12 @@ class PatientDoctorService extends BaseService
|
||||
$params = array();
|
||||
$params['patient_id'] = $user_info['client_user_id'];
|
||||
$params['history_status'] = 1;
|
||||
$result = PatientHistoryInquiryModel::getPage($params);
|
||||
$result = PatientHistoryInquiryModel::getPage($params,$page,$per_page);
|
||||
}else{
|
||||
// 关注
|
||||
$params = array();
|
||||
$params['patient_id'] = $user_info['client_user_id'];
|
||||
$result = PatientFollow::getPage($params);
|
||||
$result = PatientFollow::getPage($params,$page,$per_page);
|
||||
}
|
||||
|
||||
// 处理数据
|
||||
|
||||
Reference in New Issue
Block a user