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

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