新增接口弹窗

This commit is contained in:
wucongxing 2023-04-27 18:12:57 +08:00
parent d023f1af12
commit 859cbcd2f7
2 changed files with 7 additions and 1 deletions

View File

@ -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();

View File

@ -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());
}