本帖最后由 霁夜茶 于 2016-10-26 17:19 编辑
使用方法1.解压目录2.cd wemall6 && npm i3.配置config下的config.json4.npm start摒弃以往的开发框架thinkphp,使用node.js开发。巧妙的回调机制可节约运行线程的时间,在处理大量并行访问的时候比thinkphp更快。 附:[开发文档|数据库词典]
package.json [mw_shl_code=javascript,true]{
"name": "wemall6",
"version": "0.0.1",
"scripts": {
"node": "node app.js",
"compile": "babel --presets es2015,stage-3 --plugins transform-runtime ./src/ --out-dir ./ --watch --minified"
},
"dependencies": {
"babel-runtime": "^6.11.6",
"bluebird": "^3.3.5",
"bookshelf": "^0.10.0",
"ccap": "^0.6.10",
"co": "^4.6.0",
"co-busboy": "^1.3.1",
"co-fs-extra": "^1.2.1",
"co-request": "^1.0.0",
"co-wechat": "^0.0.4",
"co-wechat-api": "^2.4.0",
"co-wechat-oauth": "^1.0.1",
"co-weixin-pay": "^1.0.0",
"crypto": "0.0.3",
"debug": "^2.2.0",
"download": "^5.0.2",
"easy-alipay": "^0.1.5",
"handlebars-helpers": "^0.7.3",
"isarray": "^1.0.0",
"knex": "^0.11.3",
"koa": "^1.2.0",
"koa-body": "^1.4.0",
"koa-body-res": "^1.0.2",
"koa-compress": "^1.0.9",
"koa-directory-router": "^2.0.7",
"koa-gzip": "^0.1.0",
"koa-hbs": "^0.8.2",
"koa-json": "^1.1.3",
"koa-logger": "^1.3.0",
"koa-multer": "0.0.2",
"koa-onerror": "^2.0.0",
"koa-router": "^5.4.0",
"koa-session": "^3.3.1",
"koa-skip": "^2.0.1",
"koa-static-server": "^0.1.8",
"lodash": "^4.14.1",
"moment": "^2.13.0",
"mysql": "^2.10.2",
"node-schedule": "^1.1.1",
"node-uuid": "^1.4.7",
"node-xlsx": "^0.7.1",
"nodemailer": "^2.4.1",
"pagination": "^0.4.4",
"pm2": "^1.1.3",
"qr-image": "^3.1.0",
"require-dir": "^0.3.0",
"serve-favicon": "^2.3.0",
"shelljs": "^0.7.3",
"xml2js": "^0.4.16"
},
"devDependencies": {
"babel-cli": "^6.14.0",
"babel-core": "^6.14.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.14.0",
"babel-preset-stage-3": "^6.11.0"
}
}[/mw_shl_code]
源码下载地址:https://pan.baidu.com/s/1eRAlKm2 wemall 开源微商城 ,微信商城,商城源码,三级分销,微生鲜,微水果,微外卖,微订餐---专业的o2o系统 wemall地址:http://www.wemallshop.com
|