lrf402788946 5 years ago
parent
commit
67d4f85abd
1 changed files with 10 additions and 2 deletions
  1. 10 2
      app/controller/.dock.js

+ 10 - 2
app/controller/.dock.js

@@ -8,7 +8,7 @@ module.exports = {
   },
   update: {
     params: ["!id"],
-    requestBody: ["title", "desc", "start_time", "join_end","status"],
+    requestBody: ["title", "desc", "start_time", "join_end", "status"],
   },
   show: {
     parameters: {
@@ -18,7 +18,15 @@ module.exports = {
   },
   index: {
     parameters: {
-      query: ["title", "desc", "start_time", "join_end", "user_id","is_allowed"],
+      query: [
+        "title",
+        "desc",
+        "start_time",
+        "join_end",
+        "user_id",
+        "is_allowed",
+        "status",
+      ],
     },
     service: "query",
     options: {