LiuJ 3 日 前
コミット
5feb9709bf
1 ファイル変更2 行追加2 行削除
  1. 2 2
      app/JsonRpc/NewsService.php

+ 2 - 2
app/JsonRpc/NewsService.php

@@ -4069,8 +4069,8 @@ class NewsService implements NewsServiceInterface
       $where[] = ['notice.status', '=', $data['status']];
     }
     //type
-    if (isset($data['type_id']) && !empty($data['type_id'])) {
-      $where[] = ['notice.type_id', '=', $data['type_id']];
+    if (isset($data['type']) && !empty($data['type'])) {
+      $where[] = ['notice.type', '=', $data['type']];
     }
     var_dump($data, '------------11111-2----test---------');
     if ($data['type_id'] == 10000) {