smallqiang 3e4d52f4c3 修改配置表 hace 5 años
..
doc a78dab04e7 添加相关文件 hace 6 años
excel 78d3f542d0 还原了商城的价格 hace 5 años
headlines_excel 0ba95081a2 修改了抽奖配置,将红包替换为自动产出*3800 hace 5 años
original_excel a78dab04e7 添加相关文件 hace 6 años
sheet 3e4d52f4c3 修改配置表 hace 5 años
.gitignore a78dab04e7 添加相关文件 hace 6 años
README.md a78dab04e7 添加相关文件 hace 6 años
build.bat a78dab04e7 添加相关文件 hace 6 años
config.js ea79d5361b 配置表提交 hace 5 años
headlines_local.js 3e4d52f4c3 修改配置表 hace 5 años
index.html a78dab04e7 添加相关文件 hace 6 años
index.js a78dab04e7 添加相关文件 hace 6 años
local.js 0a5dc37241 修改配置表 hace 5 años
mongo.js ea79d5361b 配置表提交 hace 5 años
package-lock.json 3adb5bca2c 修改信息流错误 hace 5 años
package.json bc4941f71d 配置表提交 hace 5 años

README.md

生成配置表工具

  • 根据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