Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周奇琪
9 years ago
Commit
185e5c3543424189a5a8fed9252e400cf77a702e
1 parent
0a8d144e
删除前端校验
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
12 deletions
server/interface/auth.js
server/staticConfig.js
server/interface/auth.js
View file @
185e5c3
...
...
@@ -16,18 +16,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'
,
...
...
@@ -41,4 +33,4 @@ exports.res =
route
:
'/'
,
method
:
'GET'
,
view
:
'pages/index'
}];
}];
\ No newline at end of file
...
...
server/staticConfig.js
View file @
185e5c3
exports
.
staticDir
=
{
"test"
:{
"path"
:
"/dist"
},
"preview"
:
{
"path"
:
"http://cdn.yoho.cn/yohobuy-portal/0.2.1"
,
"md5"
:
""
},
"production"
:
{
"path"
:
"http://cdn.yoho.cn/yohobuy-portal/0.2.1"
,
"md5"
:
""
}}
\ No newline at end of file
exports
.
staticDir
=
{
"test"
:{
"path"
:
"/dist"
},
"preview"
:
{
"path"
:
"http://cdn.yoho.cn/yohobuy-portal/0.2.2"
,
"md5"
:
""
},
"production"
:
{
"path"
:
"http://cdn.yoho.cn/yohobuy-portal/0.2.2"
,
"md5"
:
""
}}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment