env.development.js
1.2 KB
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
43
44
45
46
47
48
/*
* @Descripttion:
* @version:
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @LastEditors: limin
* @LastEditTime: 2021-06-28 10:13:38
*/
// 本地环境配置
module.exports = {
title: '嘀加企微助手',
envVersion: 'trial',
request: {
baseURL: 'http://scrm.dev.glsx.com.cn', // 本地测试项目地址,
// 设置超时时间
timeout: 180000,
// 携带凭证
withCredentials: true,
// 返回数据类型
responseType: 'json',
ropMerchantURL: 'http://rop-merchant.dev.glsx.com.cn'
/**
* 开发:http://rop-merchant.dev.glsx.com.cn
* 测试:http://rop-merchant.test.glsx.com.cn
* 预发布:http://rop-merchant.beta.glsx.com.cn
* 生产:http://commodity.glsx.com.cn
*/
},
response: {
data_key: 'data',
message_key: 'message',
code_key: 'code',
code_success_value: '0',
errId_logout_value: '21',
logout_function: 'reLogin',
code_message_map: {}
},
secret: "c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b",
shopmall_appid: "wxe10067a63c1856ac",
sign: {
appKey: "48e5e13229b82c1b4e6e8c96151f0637",
format: "json",
locale: "zh_CN",
source: "scrm-main",
v: "1.0.0",
},
vconsole: true
}