與上個版本相比
更小更輕,部署更方便
技術(shù)棧
Node + Express + express-ejs-layouts + Element-UI + LeanCloud
安裝
- 下載源碼
- 運行命令lean switch留储,將自動與你的項目app id與app secret關(guān)聯(lián)午衰,命令行使用說明詳見https://leancloud.cn/docs/leanengine_cli.html
- lean deploy
說明:由于這個項目用到云函數(shù)做微信支付纵刘,所以還需要配置變量腻豌,Lean Cloud后臺設(shè)置小程序的全局變量引谜,詳見https://leancloud.cn/docs/weapp.html#配置
數(shù)據(jù)包
https://git.oschina.net/dotton/lendoo-wx項目根目錄的db.tar.gz中
管理員添加
在LeanCloud后臺厦画,找到你的應(yīng)用中的_User表疮茄,添加username與password,那它就是后臺管理員了
演示地址
http://laeser.leanapp.cn/manager/login
截圖
分類.png
商品添加.jpg
商品列表.jpg
訂單列表.jpg
下載地址
公眾號【黃秀杰】中根暑,回復(fù)113
praise