reloaded il y a 5 ans
Parent
commit
e7e04dcb9b
2 fichiers modifiés avec 9 ajouts et 9 suppressions
  1. 1 1
      app/controller/.column.js
  2. 8 8
      app/controller/.news.js

+ 1 - 1
app/controller/.column.js

@@ -12,7 +12,7 @@ module.exports = {
   update: {
     params: ['!id'],
     requestBody: [
-      '!name',
+      'name',
       'site'
     ]
   },

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

@@ -15,10 +15,10 @@ module.exports = {
   update: {
     params: ['!id'],
     requestBody: [
-      '!column_id',
-      '!title',
-      '!orgin',
-      '!content',
+      'column_id',
+      'title',
+      'orgin',
+      'content',
       'picture'
     ]
   },
@@ -31,10 +31,10 @@ module.exports = {
   index: {
     parameters: {
       query: {
-        column_id : '!column_id',
-        title : '!title',
-        orgin : '!orgin',
-        content : '!content',
+        column_id : 'column_id',
+        title : 'title',
+        orgin : 'orgin',
+        content : 'content',
         picture : 'picture'
       }
     },