|
@@ -1,6 +1,6 @@
|
|
module.exports = {
|
|
module.exports = {
|
|
create: {
|
|
create: {
|
|
- requestBody: ['card_name', 'card_bank', 'card', '!money', '!customer', '!apply_time', '!apply_reason', 'deal_person', 'exam_time', 'exam_reason', 'status'],
|
|
|
|
|
|
+ requestBody: ['shop', 'card_name', 'card_bank', 'card', '!money', '!customer', '!apply_time', '!apply_reason', 'deal_person', 'exam_time', 'exam_reason', 'status'],
|
|
},
|
|
},
|
|
destroy: {
|
|
destroy: {
|
|
params: ['!id'],
|
|
params: ['!id'],
|
|
@@ -8,7 +8,7 @@ module.exports = {
|
|
},
|
|
},
|
|
update: {
|
|
update: {
|
|
params: ['!id'],
|
|
params: ['!id'],
|
|
- requestBody: ['card_name', 'card_bank', 'card', 'money', 'customer', 'apply_time', 'apply_reason', 'deal_person', 'exam_time', 'exam_reason', 'status'],
|
|
|
|
|
|
+ requestBody: ['shop', 'card_name', 'card_bank', 'card', 'money', 'customer', 'apply_time', 'apply_reason', 'deal_person', 'exam_time', 'exam_reason', 'status'],
|
|
},
|
|
},
|
|
show: {
|
|
show: {
|
|
parameters: {
|
|
parameters: {
|
|
@@ -21,6 +21,7 @@ module.exports = {
|
|
query: {
|
|
query: {
|
|
'meta.createdAt@start': 'meta.createdAt@start',
|
|
'meta.createdAt@start': 'meta.createdAt@start',
|
|
'meta.createdAt@end': 'meta.createdAt@end',
|
|
'meta.createdAt@end': 'meta.createdAt@end',
|
|
|
|
+ shop: 'shop',
|
|
customer: 'customer',
|
|
customer: 'customer',
|
|
apply_time: 'apply_time',
|
|
apply_time: 'apply_time',
|
|
deal_person: 'deal_person',
|
|
deal_person: 'deal_person',
|