|
@@ -1,6 +1,6 @@
|
|
|
module.exports = {
|
|
|
create: {
|
|
|
- requestBody: ['is_leader', 'name', 'phone', 'password', 'icon', 'birth', 'gender', 'email', 'openid', 'status'],
|
|
|
+ requestBody: ['is_leader', 'shop', 'name', 'phone', 'password', 'icon', 'birth', 'gender', 'email', 'openid', 'status'],
|
|
|
},
|
|
|
destroy: {
|
|
|
requestBody: ['!key', '!target'],
|
|
@@ -8,7 +8,7 @@ module.exports = {
|
|
|
},
|
|
|
update: {
|
|
|
params: ['!id'],
|
|
|
- requestBody: ['is_leader', 'name', 'phone', 'password', 'icon', 'birth', 'gender', 'email', 'openid', 'status'],
|
|
|
+ requestBody: ['is_leader', 'shop', 'name', 'phone', 'password', 'icon', 'birth', 'gender', 'email', 'openid', 'status'],
|
|
|
},
|
|
|
show: {
|
|
|
parameters: {
|
|
@@ -22,6 +22,7 @@ module.exports = {
|
|
|
'meta.createdAt@start': 'meta.createdAt@start',
|
|
|
'meta.createdAt@end': 'meta.createdAt@end',
|
|
|
name: '%name%',
|
|
|
+ shop: 'shop',
|
|
|
phone: 'phone',
|
|
|
gender: 'gender',
|
|
|
email: 'email',
|