|
@ -23,7 +23,7 @@
|
|
|
} else {// 测试环境配置
|
|
|
grant_type = "password";
|
|
|
client_id = "WYo0l73F8e";
|
|
|
server = "http://172.19.103.73:10001";
|
|
|
server = "http://172.19.103.73:10001/";
|
|
|
// server = "http://172.19.103.88:9092/wlyy/"
|
|
|
imserver = "http://172.19.103.88:3000/api/v2";
|
|
|
socketUrl = "http://172.19.103.88:3000";
|
|
@ -93,7 +93,7 @@
|
|
|
//调用福州总部的接口的方法
|
|
|
function fzHttpPost(url, options){
|
|
|
return new Promise(function(resolve, reject) {
|
|
|
var url2 = "api/v1.0/fz/open/api",
|
|
|
var url2 = "/basic/api/v1.0/fz/open/api",
|
|
|
params = {
|
|
|
apiUrl: url, //相对接口路径,不用"/"开头
|
|
|
paramsJson: JSON.stringify(options)
|
|
@ -103,9 +103,11 @@
|
|
|
data: params,
|
|
|
dataType: 'JSON',
|
|
|
error: function(res) {
|
|
|
console.log("error", res);
|
|
|
reject(res)
|
|
|
},
|
|
|
success: function(res) {
|
|
|
console.log("success", res)
|
|
|
failCodeHandle(res)
|
|
|
resolve(res)
|
|
|
}
|