Commit 48b56361 authored by 英思-陈欢's avatar 英思-陈欢

调试

parent ed212107
...@@ -71,23 +71,23 @@ ...@@ -71,23 +71,23 @@
showCancel: false, showCancel: false,
confirmText: '关闭' confirmText: '关闭'
}) })
Api.foo.getXinhuaDecrypt({ // Api.foo.getXinhuaDecrypt({
appid: 'dffb71ae33637ab293036b2c2a419127', // appid: 'dffb71ae33637ab293036b2c2a419127',
systemcode: 'my-centre', // systemcode: 'my-centre',
type: 'sgy', // type: 'sgy',
encryptDataMap: info.data, // encryptDataMap: info.data,
}).then((res: any) => { // }).then((res: any) => {
console.log(res) // console.log(res)
getApp().globalData!.user = res.data; // getApp().globalData!.user = res.data;
Api.foo.insuranceType({ // Api.foo.insuranceType({
psnCertType: getApp().globalData!.user.psnCertType, // psnCertType: getApp().globalData!.user.psnCertType,
certno: getApp().globalData!.user.certno, // certno: getApp().globalData!.user.certno,
}).then((res: any) => { // }).then((res: any) => {
getApp().globalData!.user.psnNo = res.psnNo; // getApp().globalData!.user.psnNo = res.psnNo;
getApp().globalData!.user.insuTypeCode = res.insutypeCode; // getApp().globalData!.user.insuTypeCode = res.insutypeCode;
getApp().globalData!.user.insuAdmdvs = res.insuAdmdvs; // getApp().globalData!.user.insuAdmdvs = res.insuAdmdvs;
}) // })
}) // })
} }
}); });
} }
......
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