"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const moment=require("moment");moment.defaultFormat="YYYY-MM-DD",exports.default=d=>{const{controller:a,router:b}=d;b.post("/evaservice/upload",a.station.handleUpload),b.post("/station/upload",a.station.handleUpload),b.get("/evaservice/overview",a.cloud.overview),b.get("/evaservice/statisticAll",a.cloud.statisticAll),b.get("/evaservice/statisticAllByTime",a.cloud.statisticAllByTime),b.get("/evaservice/rank",a.cloud.rank),b.post("/evaservice/admin/login",a.cloud.handleAdminLogin),b.get("/evaservice/admin/logout",a.cloud.handleAdminLogout),b.get("/evaservice/station/search",a.cloud.searchAllStation),b.get("/evaservice/station/evaluationInRange",a.cloud.evaluationInRange),b.post("/evaservice/station/add",a.cloud.handleStationAdd),b.post("/evaservice/station/modify",a.cloud.handleStationModify),b.post("/evaservice/station/disable",a.cloud.disableStation),b.post("/evaservice/station/enable",a.cloud.enableStation),b.get("/evaservice/record/get",a.record.get)};