Commit 848d5020 authored by 英思-陈欢's avatar 英思-陈欢

删除调试代码

parent 0b9c0003
......@@ -76,12 +76,6 @@
type: 'sgy',
encryptDataMap: info.data,
}).then((res: any) => {
// xma.showModal({
// title: '请求结果',
// content: JSON.stringify(res),
// showCancel: false,
// confirmText: '关闭'
// })
getApp().globalData!.user.certno = res.uIdCardNo;
Api.foo.insuranceType({
psnCertType: getApp().globalData!.user.psnCertType,
......
......@@ -46,18 +46,9 @@ class Request {
xma.request({
...config,
success: (result: any) => {
console.log(result)
if (config.url == 'https://onemoment.gywb.cn/back/one-visit/one-visit/web/oneVisit/getXinhuaDecrypt') {
xma.showModal({
title: '请求结果1',
content: JSON.stringify(result),
showCancel: false,
confirmText: '关闭'
})
}
if (`${result.data.code}` == 'success') {
resolve(responseOnFulfilled?.(result.data.data) || result.data.data);
} else if (`${result.statusCode}` == '200') {
} else if (result.data.status) {
resolve(responseOnFulfilled?.(result) || result);
} else {
xma.showModal({
......
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