修改弹窗为已读

This commit is contained in:
wucongxing 2023-05-09 14:11:20 +08:00
parent 9a34eaab86
commit 086f2b2bf3

View File

@ -539,6 +539,14 @@ class UserService extends BaseService
foreach ($popup as $key => $item){
$popup[$key]['popup_content'] = json_decode($item['popup_content']);
// 修改为已读
$params = array();
$params['popup_id'] = $item['popup_id'];
$data = array();
$data['status'] = 1;
Popup::edit($params,$data);
}
return success($popup->toArray());