yaoziqi 9dfe5dddba 修改了抽奖几率 | 6 years ago | |
---|---|---|
.. | ||
doc | 6 years ago | |
excel | 6 years ago | |
original_excel | 6 years ago | |
sheet | 6 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