优化代码

This commit is contained in:
shiyj1101 2021-08-11 01:22:12 +08:00
parent 45fe6d041f
commit ff139ae518
2 changed files with 9 additions and 14 deletions

View File

@ -93,13 +93,10 @@
},
function (json, res) {
let _json = JSON.parse(json);
if (_json.code == 0) {
//谈二维码
$that._openRweiMaBackCityModel(_json.codeUrl);
$('#payFeeResult').modal('show');
return;
}
vc.toast(_json.msg);
//谈二维码
$that._openRweiMaBackCityModel(_json.codeUrl);
$('#payFeeResult').modal('show');
return;
},
function (errInfo, error) {
console.log('请求失败处理');

View File

@ -95,13 +95,11 @@
},
function (json, res) {
let _json = JSON.parse(json);
if (_json.code == 0) {
//谈二维码
$that._openRweiMaSettingModel(_json.codeUrl);
$('#payFeeResult').modal('show');
return;
}
vc.toast(_json.msg);
//谈二维码
$that._openRweiMaSettingModel(_json.codeUrl);
$('#payFeeResult').modal('show');
return;
},
function (errInfo, error) {
console.log('请求失败处理');