新增接口弹窗
This commit is contained in:
parent
d023f1af12
commit
859cbcd2f7
@ -327,7 +327,9 @@ class UserDoctorService extends BaseService
|
|||||||
$data['app_type'] = 1;
|
$data['app_type'] = 1;
|
||||||
$data['client_type'] = 2;
|
$data['client_type'] = 2;
|
||||||
$data['popup_type'] = 1;
|
$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);
|
$popup = Popup::addPopup($data);
|
||||||
if (empty($popup)){
|
if (empty($popup)){
|
||||||
Db::rollBack();
|
Db::rollBack();
|
||||||
|
|||||||
@ -534,6 +534,10 @@ class UserService extends BaseService
|
|||||||
return success();
|
return success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach ($popup as $key => $item){
|
||||||
|
$popup[$key]['popup_content'] = json_decode($item['popup_content']);
|
||||||
|
}
|
||||||
|
|
||||||
return success($popup->toArray());
|
return success($popup->toArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user