|
@@ -1,6 +1,6 @@
|
|
|
module.exports = {
|
|
|
create: {
|
|
|
- requestBody: ['sell_money', 'flow_money', 'freight', 'shop', 'name', 'shot_brief', 'send_time', 'specs', 'brief', 'file'],
|
|
|
+ requestBody: ['sell_money', 'flow_money', 'freight', 'shop', 'name', 'shot_brief', 'send_time', 'specs', 'brief', 'file', 'status'],
|
|
|
},
|
|
|
destroy: {
|
|
|
params: ['!id'],
|
|
@@ -8,7 +8,7 @@ module.exports = {
|
|
|
},
|
|
|
update: {
|
|
|
params: ['!id'],
|
|
|
- requestBody: ['sell_money', 'flow_money', 'freight', 'shop', 'name', 'shot_brief', 'send_time', 'specs', 'brief', 'file'],
|
|
|
+ requestBody: ['sell_money', 'flow_money', 'freight', 'shop', 'name', 'shot_brief', 'send_time', 'specs', 'brief', 'file', 'status'],
|
|
|
},
|
|
|
show: {
|
|
|
parameters: {
|
|
@@ -23,6 +23,7 @@ module.exports = {
|
|
|
'meta.createdAt@end': 'meta.createdAt@end',
|
|
|
shop: 'shop',
|
|
|
name: 'name',
|
|
|
+ status: 'status',
|
|
|
},
|
|
|
// options: {
|
|
|
// "meta.state": 0 // 默认条件
|