|
|
@@ -1,6 +1,5 @@
|
|
|
import { getWxConfig, getMobileConfig, OfficialLogin } from "@/utils/user";
|
|
|
import { getOpenId } from "@/utils/login";
|
|
|
-
|
|
|
export function getQueryString(name) {
|
|
|
const url = location.search; //获取url中"?"符后的字串
|
|
|
let theRequest = new Object();
|
|
|
@@ -70,7 +69,6 @@ export function backOpenId(cb) {
|
|
|
return;
|
|
|
}
|
|
|
getOpenId({ code }).then((res) => {
|
|
|
- console.log(res);
|
|
|
uni.setStorageSync("openid", res.openid);
|
|
|
uni.setStorageSync("unionid", res.unionid);
|
|
|
cb && cb(res.openid);
|