dygapp 6 years ago
parent
commit
02e4c26ca6
2 changed files with 4 additions and 4 deletions
  1. 2 2
      app/controller/.news.js
  2. 2 2
      app/controller/.site.js

+ 2 - 2
app/controller/.news.js

@@ -4,14 +4,14 @@ module.exports = {
     "parameters": {
       "query": ["!column"],
     },
-    "requestBody": ["!title", "!content", "picurl", "top", "tags", "attachment", "issuer", "remark"],
+    "requestBody": ["!title", "!content", "picurl", "top", "tags", "attachment", "issuer"],
   },
   // 修改新闻信息
   "update": {
     "parameters": {
       "query": ["!id"],
     },
-    "requestBody": ["title", "content", "picurl", "top", "tags", "attachment", "issuer", "remark", "meta"],
+    "requestBody": ["title", "content", "picurl", "top", "tags", "attachment", "issuer"],
     "options": {
       "projection": "+content",
     },

+ 2 - 2
app/controller/.site.js

@@ -2,7 +2,7 @@ module.exports = {
   // 添加分站信息
   "create": {
     "parameters": {
-      "requestBody": ["!name", "!site", "!domain", "banner", "!copyright", "theme", "!content", "remark"],
+      "requestBody": ["!name", "!site", "!domain", "banner", "!copyright", "theme", "!content"],
     },
   },
   // 修改分站信息
@@ -10,7 +10,7 @@ module.exports = {
     "parameters": {
       "query": ["!site"],
     },
-    "requestBody": ["name", "domain", "banner", "copyright", "theme", "content", "remark"],
+    "requestBody": ["name", "domain", "banner", "copyright", "theme", "content"],
     "options": {
       "projection": "+content",
     },