确认订单中 增加商品数量修改 运费
This commit is contained in:
@@ -6,9 +6,9 @@ if (process.env.NODE_ENV === 'development') {
|
||||
// socketUrl = "ws://localhost:6001/";
|
||||
// baseUrl = "https://twin-ui.com/demo/";
|
||||
// baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境
|
||||
// baseUrl = "https://api.nuttyreading.com/"; // 线上正式
|
||||
baseUrl = "https://api.nuttyreading.com/"; // 线上正式
|
||||
// baseUrl = "http://192.168.110.110:9200/pb/"; // 磊哥
|
||||
baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
// baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
// baseUrl = "http://59.110.212.44:9200/pb/";
|
||||
// baseUrl = "http://192.168.110.100:9100/pb/"; // 开发用电脑
|
||||
// baseUrl = "http://192.168.110.110:9200/pb/";
|
||||
@@ -20,8 +20,8 @@ if (process.env.NODE_ENV === 'development') {
|
||||
// baseUrl = "http://59.110.212.44:9100/pb/";
|
||||
// baseUrl = "https://testapi.nuttyreading.com/";
|
||||
// baseUrl = "http://192.168.110.110:9200/pb/";//磊哥
|
||||
// baseUrl = "https://api.nuttyreading.com/"; //1
|
||||
baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
baseUrl = "https://api.nuttyreading.com/"; //1
|
||||
// baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
// baseUrl = "ws://twin-ui.com:6001/";
|
||||
// socketUrl = "ws://twin-ui.com:6001/";
|
||||
}
|
||||
|
||||
@@ -40,9 +40,9 @@ let $http = new request({
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
// 'project_token': base.projectToken, //项目token(可删除)
|
||||
},
|
||||
timeout:'15000' // 15秒
|
||||
|
||||
});
|
||||
timeout: '15000' // 15秒
|
||||
|
||||
});
|
||||
// 添加获取七牛云token的方法
|
||||
$http.getQnToken = function(callback) {
|
||||
//该地址需要开发者自行配置(每个后台的接口风格都不一样)
|
||||
@@ -148,13 +148,13 @@ $http.requestEnd = function(options) {
|
||||
let loginPopupNum = 0;
|
||||
//所有接口数据处理(此方法需要开发者根据各自的接口返回类型修改,以下只是模板)
|
||||
$http.dataFactory = async function(res) {
|
||||
// console.log("接口请求数据", {
|
||||
// url: res.url,
|
||||
// resolve: res.response,
|
||||
// header: res.header,
|
||||
// data: res.data,
|
||||
// method: res.method,
|
||||
// });
|
||||
console.log("接口请求数据", {
|
||||
url: res.url,
|
||||
resolve: res.response,
|
||||
header: res.header,
|
||||
data: res.data,
|
||||
method: res.method,
|
||||
});
|
||||
if (res.response.statusCode && res.response.statusCode == 200) {
|
||||
let httpData = res.response.data;
|
||||
if (typeof(httpData) == "string") {
|
||||
|
||||
Reference in New Issue
Block a user