shuishen
2024-03-22 e0fc3af465e71bb4252c8acb49e9b1e0955381f3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
 * 全局变量配置
 */
module.exports = {
  // 应用名,
  name: "社区网格治理",
  // 应用logo,支持本地路径和网络路径
  logo: "/static/images/base.ico",
  // 版本号
  version: "2.0.0",
  // 开发环境接口Url
  // devUrl: 'http://z4042833u6.wicp.vip',
  devUrl: 'https://srgdjczzxtpt.com:2080/api',
  // devUrl: "http://192.168.2.140:9528",
  // devUrl: 'https://kt39592615.goho.co',
  minioBaseUrl: "https://srgdjczzxtpt.com:2080/gminio/jczz/",
  // minioBaseUrl: "http://192.168.0.101:9528/",
  // 数据中台接口url
  dataCenterUrl: "https://sk.hubeishuiyi.cn/services",
  //洪水预报接口url
  hsybUrl: "https://sk.hubeishuiyi.cn/hsybApi/api/fh-admin",
  // 线上环境接口Url
  prodUrl: "https://srgdjczzxtpt.com:2080/api",
 
  // prodUrl: 'http://192.168.2.140:9528',
 
  // 后端数据的接收方式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,
};