|
@@ -1,6 +1,6 @@
|
|
|
module.exports = {
|
|
|
create: {
|
|
|
- requestBody: ['user_id', 'account', 'name', '_tenant', 'opera', 'path'],
|
|
|
+ requestBody: ['user_id', 'account', 'name', '_tenant', 'opera', 'path', 'module'],
|
|
|
},
|
|
|
destroy: {
|
|
|
params: ['!id'],
|
|
@@ -8,7 +8,7 @@ module.exports = {
|
|
|
},
|
|
|
update: {
|
|
|
params: ['!id'],
|
|
|
- requestBody: ['user_id', 'account', 'name', '_tenant', 'opera', 'path'],
|
|
|
+ requestBody: ['user_id', 'account', 'name', '_tenant', 'opera', 'path', 'module'],
|
|
|
},
|
|
|
show: {
|
|
|
parameters: {
|
|
@@ -25,6 +25,7 @@ module.exports = {
|
|
|
_tenant: '_tenant',
|
|
|
opera: 'opera',
|
|
|
path: 'path',
|
|
|
+ module: 'module',
|
|
|
'meta.createdAt@start': 'meta.createdAt@start',
|
|
|
'meta.createdAt@end': 'meta.createdAt@end',
|
|
|
},
|