Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-shop-fe2
·
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
weiqingting
2016-06-15 18:38:14 +0800
Commit
ae835fbe981f996fb4930e9ed3084be251e3c6c2
1 parent
b5ddb018
pagejson
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
code/apps/common/controllers/index.js
code/gulpfile.js
code/package.json
code/apps/common/controllers/index.js
View file @
ae835fb
...
...
@@ -2,6 +2,8 @@
module
.
exports
=
function
(
app
)
{
app
.
get
(
"/login"
,
"common.Login"
);
app
.
get
(
"/logout"
,
"common.Login"
);
app
.
post
(
"/login"
,
"common_login"
,
function
(
login
,
req
,
res
){
if
(
login
.
code
=
200
)
{
...
...
code/gulpfile.js
View file @
ae835fb
...
...
@@ -30,7 +30,7 @@ var config = JSON.parse(fs.readFileSync('./package.json').toString());
/*获取项目名称*/
var
dist
=
{
name
:
"../dist"
,
static
:
"../dist/"
+
config
.
version
+
"/static"
,
static
:
"../dist/"
+
config
.
name
+
"/"
+
config
.
version
+
"/static"
,
code
:
"../server"
};
...
...
code/package.json
View file @
ae835fb
{
"name"
:
"yo"
,
"version"
:
"4.3.0"
,
"name"
:
"yohobuy-shops-fe"
,
"version"
:
"4.6.0"
,
"description"
:
"Construction of the presentation layer solution is based on express, handlebars"
,
"main"
:
"app.js"
,
"scripts"
:
{
...
...
Please
register
or
login
to post a comment