瀏覽代碼

调整消息参数

彭俊 6 年之前
父節點
當前提交
3794cc298c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Application/Api/Model/AccountNews.php

+ 2 - 2
Application/Api/Model/AccountNews.php

@@ -72,8 +72,8 @@ class AccountNews extends Model {
         if (!empty($_POST['read_status'])) {
             $accountNewsWhere['read_status'] = $_POST['read_status'];
         }
-        if (!empty($_POST['type'])) {
-            $accountNewsWhere['type'] = $_POST['type'];
+        if (!empty($_POST['mold'])) {
+            $accountNewsWhere['type'] = $_POST['mold'];
         }
         // 时间区间
         $startTime = isset($_POST['startTime'])? $_POST['startTime'] : '1900-01-01 00:00:00';