Răsfoiți Sursa

通知查询方式优化

shish 1 an în urmă
părinte
comite
a31ca1eef9
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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;