Commit 415d5e24 authored by 李维's avatar 李维

注释掉开发代码

parent e215c559
......@@ -464,7 +464,8 @@ export function callNetworkApiPost(uri, data, callBack) {
middleLayer.callNetworkApiPost(uri, data, callBack);
return;
}
uri = uri.replace(/oxford/g, 'oxfordlite')
// 开发时切环境使用
// uri = uri.replace(/oxford/g, 'oxfordlite')
const baseUrl = 'http://staging-openapi.iteachabc.com';
const xhr = new XMLHttpRequest();
const url = `${baseUrl}${uri}`;
......@@ -484,7 +485,8 @@ export function callNetworkApiGet(uri, data, callBack) {
middleLayer.callNetworkApiGet(uri, data, callBack);
return;
}
uri = uri.replace(/oxford/g, 'oxfordlite')
// 开发时切环境使用
// uri = uri.replace(/oxford/g, 'oxfordlite')
const baseUrl = 'http://staging-openapi.iteachabc.com';
let queryStr = '?';
const params = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment