...
|
...
|
@@ -19,18 +19,10 @@ exports.res = |
|
|
isJsonRaw: false,
|
|
|
params: [{
|
|
|
name: 'user',
|
|
|
type: 'String',
|
|
|
maxLength: 16,
|
|
|
minLength: 6,
|
|
|
reg: /^\S{5,10}$/,
|
|
|
message: '必须是6-16位的字符'
|
|
|
type: 'String'
|
|
|
}, {
|
|
|
name: 'password',
|
|
|
type: 'String',
|
|
|
maxLength: 16,
|
|
|
minLength: 6,
|
|
|
reg: /^\S{6,16}/,
|
|
|
message: '必须是6-16位的字符'
|
|
|
type: 'String'
|
|
|
}]
|
|
|
}, {
|
|
|
route: '/login',
|
...
|
...
|
|