diff --git a/app/Services/UserDoctorService.php b/app/Services/UserDoctorService.php index 9e8280f..fa99b38 100644 --- a/app/Services/UserDoctorService.php +++ b/app/Services/UserDoctorService.php @@ -327,7 +327,9 @@ class UserDoctorService extends BaseService $data['app_type'] = 1; $data['client_type'] = 2; $data['popup_type'] = 1; - $data['popup_link'] = ""; // 跳转地址 + $data['popup_title'] = "温馨提示"; + $data['popup_content'] = "快速了解在线问诊、公益问诊和快速问诊"; + $data['popup_link'] = "/Pages/yishi/manual_detail/index?manual_id=1"; // 跳转地址 $popup = Popup::addPopup($data); if (empty($popup)){ Db::rollBack(); diff --git a/app/Services/UserService.php b/app/Services/UserService.php index bf501ea..258daa7 100644 --- a/app/Services/UserService.php +++ b/app/Services/UserService.php @@ -534,6 +534,10 @@ class UserService extends BaseService return success(); } + foreach ($popup as $key => $item){ + $popup[$key]['popup_content'] = json_decode($item['popup_content']); + } + return success($popup->toArray()); }