Authored by weiqingting

pagejson

... ... @@ -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) {
... ...
... ... @@ -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"
};
... ...
{
"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": {
... ...