修改弹窗为已读
This commit is contained in:
parent
9a34eaab86
commit
086f2b2bf3
@ -539,6 +539,14 @@ class UserService extends BaseService
|
|||||||
|
|
||||||
foreach ($popup as $key => $item){
|
foreach ($popup as $key => $item){
|
||||||
$popup[$key]['popup_content'] = json_decode($item['popup_content']);
|
$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());
|
return success($popup->toArray());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user