|
|
|
@ -27,12 +27,12 @@ export default {
|
|
|
|
if (uni.getStorageSync("TEMPORARY_CODE")) {
|
|
|
|
if (uni.getStorageSync("TEMPORARY_CODE")) {
|
|
|
|
let wxRes = uni.getStorageSync("TEMPORARY_CODE");
|
|
|
|
let wxRes = uni.getStorageSync("TEMPORARY_CODE");
|
|
|
|
that.G.Get(
|
|
|
|
that.G.Get(
|
|
|
|
that.api.login_wechat,
|
|
|
|
that.api.login_wechat,
|
|
|
|
{
|
|
|
|
{
|
|
|
|
openId: wxRes.openId,
|
|
|
|
openId: wxRes.openId,
|
|
|
|
tel: wxRes.phoneNumber,
|
|
|
|
tel: wxRes.phoneNumber,
|
|
|
|
unionid: wxRes.unionid,
|
|
|
|
unionid: wxRes.unionid,
|
|
|
|
createFakerAgency: 1,
|
|
|
|
createFakerAgency: 1,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
(res) => {
|
|
|
|
(res) => {
|
|
|
|
console.log("res", res);
|
|
|
|
console.log("res", res);
|
|
|
|
|