sa03 a382643188 Merge branch 'datasheet' of http://svn.ouj.com:3000/DWG/allstar into 0.6 6 年 前
..
doc 9c18a52ea0 building info 6 年 前
excel 719f95e6a3 修改了每日任务的配置表 6 年 前
original_excel b9fa4dd2af allstar main task 6 年 前
sheet 0bc116b433 更新数据表配置内容 6 年 前
.gitignore 2d28e72d8d 添加配置表 6 年 前
README.md 87ac1c8259 添加工具使用说明 6 年 前
build.bat 71cf394661 修改配置表生成工具 6 年 前
config.js 9d02aca8a5 配置表mongoDB处理 6 年 前
index.html cb45c56dd8 添加生成配置表工具 6 年 前
index.js 2d28e72d8d 添加配置表 6 年 前
local.js c00f7e9cbe update mongo conf 6 年 前
mongo.js c00f7e9cbe update mongo conf 6 年 前
package-lock.json 193f1d568e 添加配置表内容 6 年 前
package.json e02c32bd5e 添加城市相关配置表 6 年 前

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