Commit 3ee89f07 by 胡悦

fix: 更新请求环境和目标配置

将环境索引从2改为3以匹配新接口需求
将请求目标从测试环境切换到生产环境
1 parent 899ad1c4
......@@ -23,7 +23,7 @@ const manual = false
const release = false
// newRequest里面是新接口也要修改
let index = 2
let index = 3
// 判断小程序环境
// develop:开发版(正常开发工具,测试时)
......
......@@ -2,7 +2,7 @@ import { Request } from 'glsk-toolkit';
import { domain } from './http.js'
let { sessionId } = wx.$storage.get()
console.log(sessionId, '=-====')
let target = 'test'
let target = 'prod'
const requestObj = {
dev: 'http://gsc.dev.glsx.com.cn/gsc-vcp-miniapp-facade',
test: 'https://gsc.test.glsx.com.cn/gsc-vcp-miniapp-facade',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!