if (Wechat.getStorageSync("openId")) {
params.openId = Wechat.getStorageSync("openId")
return this.wxRequest(isHideLoading, langUrl, params, method);
} else {
return  Wechat.login().then(res => {
Wechat.request('https://testweixin.shangbin.org/wx_account/getOpenId', {
code: res.code
}, 'post').then((res) => {
Wechat.setStorage("openId", res.data);
params.openId = res.data;
return this.wxRequest(isHideLoading, langUrl, params, method);
})
});
}