Browse Source

通知查询方式优化

shish 1 năm trước cách đây
mục cha
commit
a31ca1eef9

+ 1 - 1
app-ghs/controllers/NotifyController.php

@@ -49,7 +49,7 @@ class NotifyController extends BaseController
     {
     {
         $get = Yii::$app->request->get();
         $get = Yii::$app->request->get();
         $staffId = $this->shopAdminId;
         $staffId = $this->shopAdminId;
-        $where = ['mainId' => $this->mainId, 'staffId' => $staffId];
+        $where = ['staffId' => $staffId];
         $read = $get['read'] ?? '';
         $read = $get['read'] ?? '';
         if (is_numeric($read)) {
         if (is_numeric($read)) {
             $where['read'] = $read;
             $where['read'] = $read;