/** * 全局变量配置 */ module.exports = { // 应用名, name: '荆楚水库', // 应用logo,支持本地路径和网络路径 logo: '/static/images/base.ico', // 版本号 version: '2.0.0', // 开发环境接口Url // devUrl: 'https://sk.hubeishuiyi.cn', devUrl: 'http://172.16.13.129:9528', // 数据中台接口url // dataCenterUrl: 'http://10.10.2.192/services', dataCenterUrl: 'https://sk.hubeishuiyi.cn/services', //洪水预报接口url hsybUrl: "https://sk.hubeishuiyi.cn/hsybApi/api/fh-admin", // 线上环境接口Url prodUrl: 'https://sk.hubeishuiyi.cn', // 后端数据的接收方式application/json;charset=UTF-8或者application/x-www-form-urlencoded;charset=UTF-8 contentType: 'application/json;charset=UTF-8', // 后端返回状态码 codeName: 'code', // 操作正常code successCode: 200, // 登录失效code invalidCode: 401, // 客户端ID clientId: 'rider', // 客户端密钥 clientSecret: 'rider_secret', // token过期时间(秒) // 30天 30*24*60*60 tokenTime: 2592000, }