소스 검색

调整消息参数

彭俊 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';