| 1234567891011121314151617181920212223242526272829303132333435 |
- /**
- * 全局变量配置
- */
- module.exports = {
- // 应用名
- name: 'shzhjcyjptywxt',
- // 应用logo,支持本地路径和网络路径
- logo: '/static/images/logo.png',
- // 版本号
- version: '1.0.17',
- // 开发环境接口Url
- //devUrl: 'http://127.0.0.1:40004',
- devUrl: 'http://111.204.228.227:20002/api',
- //devUrl: 'https://nmwx.dahengsi.com:20001/api',
- // 线上环境接口Url
- //prodUrl: 'http://116.113.33.54:20002/api',
- prodUrl: 'http://111.204.228.227:20002/api',
- //prodUrl: 'https://nmwx.dahengsi.com:20001/api',
- // 后端数据的接收方式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: 'shzhjcyjptywxt',
- // 客户端密钥
- clientSecret: 'shzhjcyjptywxt_secret_82828800',
- //oss: 'http://172.9.0.165:80/oss/galaxy/',
- oss: 'http://111.204.228.227:20002/oss/galaxy/',
- //oss: 'https://nmwx.dahengsi.com:20001/oss/galaxy/',
- img: 'http://111.204.228.227:20002/img/',
- }
|