@@ -341,7 +341,6 @@ | |||
//如果未登录||新用户 | |||
if (!getItem('openId')) { | |||
let data = { | |||
userType: "PERSONAL", | |||
idNum: state.form.userIdNum, |
@@ -73,8 +73,8 @@ export function request(code, options = {}, start = false) { | |||
opId: getItem(StorageKeys.OpenId), | |||
} | |||
// options.url = envs[process.env.NODE_ENV].baseUrl + '/api/interfaceMidGroundIn' | |||
options.url = envs[process.env.NODE_ENV].baseUrl + '/dev/api/interfaceMidGroundIn' | |||
options.url = envs[process.env.NODE_ENV].baseUrl + '/api/interfaceMidGroundIn' | |||
// options.url = envs[process.env.NODE_ENV].baseUrl + '/dev/api/interfaceMidGroundIn' | |||
//默认json数据格式提交` | |||
let contentType = 'application/x-www-form-urlencoded' | |||
@@ -619,13 +619,12 @@ export const interceptND = (vehicleId) => { | |||
return new Promise(async (resolve, reject) => { | |||
const res = await request(interceptNDApi, options); | |||
const data = stringToJson(res.bizContent); | |||
if(data.pass='on'){ | |||
if(data.pass=='on'){ | |||
confirm('鉴于系统正在进行升级维护,请您前往贵州黔通智联九州ETC服务小程序,以便顺利办理相关业务。', () => { | |||
}, '温馨提示', true, '确定'); | |||
}else{ | |||
resolve(data); | |||
} | |||
console.log("获取邮寄地址", data) | |||
}).catch((error) => { | |||
reject(error); | |||
}); |