yaoziqi 82cb67a2b0 增加了抽奖明星和礼包明星在图鉴里的描述 | 5 years ago | |
---|---|---|
.. | ||
doc | 6 years ago | |
excel | 5 years ago | |
original_excel | 6 years ago | |
sheet | 5 years ago | |
.gitignore | 6 years ago | |
README.md | 6 years ago | |
build.bat | 6 years ago | |
config.js | 6 years ago | |
index.html | 6 years ago | |
index.js | 6 years ago | |
local.js | 6 years ago | |
mongo.js | 6 years ago | |
package-lock.json | 6 years ago | |
package.json | 6 years ago |
根据Excel文件生成对应的 Js
到 /assets/scripts/data/
目录以供客户端调用,对应的 Js
文件名为 Excel
文件名去掉 Redis
前缀后的内容,如 allstar_buildingInfo.xlsx
-> buildingInfo.js
同时把生成的 Json
数据同步到 Redis
对应以文件名命名的 Key
,如 allstar_buildingInfo.xlsx
-> allstar:buildingInfo
$ npm install
$ npm run dev