|
@@ -9,6 +9,13 @@ use Yii;
|
|
|
class NotifyController extends BaseController
|
|
class NotifyController extends BaseController
|
|
|
{
|
|
{
|
|
|
|
|
|
|
|
|
|
+ //全部设置为已读 ssh 20230802
|
|
|
|
|
+ public function actionAllRead()
|
|
|
|
|
+ {
|
|
|
|
|
+ NotifyClass::updateByCondition(['mainId' => $this->mainId, 'staffId' => $this->shopAdminId], ['read' => 1]);
|
|
|
|
|
+ util::complete('操作成功');
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
//通知列表 ssh 20230802
|
|
//通知列表 ssh 20230802
|
|
|
public function actionList()
|
|
public function actionList()
|
|
|
{
|
|
{
|