Przeglądaj źródła

通知查询方式优化

shish 1 rok temu
rodzic
commit
a31ca1eef9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app-ghs/controllers/NotifyController.php

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

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