env.development.js 1.18 KB
/*
 * @Descripttion:
 * @version:
 * @Author: limin
 * @Date: 2021-06-07 14:12:32
 * @LastEditors: limin
 * @LastEditTime: 2021-09-18 11:51:29  
 * http://192.168.3.171:7300/mock/6136bea6ceeb5a5c2bec6950/  冯支:http://192.168.1.74:8089
 */
// 本地环境配置
module.exports = {
  title: 'custom',
  response: {
    data_key: 'data',
    message_key: 'message',
    code_key: 'code',
    code_success_value: '0',
    code_message_map: {}
  },
  // 王小龙:http://192.168.2.98:8091/rop-scrm-datahub  冯支:http://192.168.3.191:8064/rop-scrm-entmicro/
 /* 开发环境的域名:http://scrm.dev.glsx.com.cn/rop-scrm-datahub     测试:https://scrm.test.glsx.com.cn
http://scrm.dev.glsx.com.cn/rop-scrm-entmicro   http://scrm.test.glsx.com.cn/
*/
  request: { 
    baseURL: 'http://scrm.test.glsx.com.cn',   
    // 设置超时时间
    timeout: 180000,
    // 携带凭证
    withCredentials: true,
    // 返回数据类型
    responseType: 'json'
  },
  sign: {
    appKey: '48e5e13229b82c1b4e6e8c96151f0637',
    v: '1.0.0',
    format: 'json',     
    source: 'client-sub-custom'
  },
  secret: 'c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b',

  cdn: 'https://www.xxx.cn/static'
}