futian.liu
2023-12-21 1a4f00e0b4d24ae72c7d95e31e685d9a2be0aa62
admin-web/src/libs/wechat.js
@@ -9,12 +9,12 @@
// +----------------------------------------------------------------------
import WechatJSSDK from 'wechat-jssdk/dist/client.umd';
import { getWechatConfig, wechatAuth } from '@/api/system/wxApi';
import { getToken, removeToken, setToken } from '@/utils/auth';
import { parseQuery } from '@/utils';
import {getWechatConfig, wechatAuth} from '@/api/system/wxApi';
import {getToken, setToken} from '@/utils/auth';
import Cookies from 'js-cookie';
const STATE_KEY = 'wx_authorize_state';
import store from '@/store';
const STATE_KEY = 'wx_authorize_state';
const WX_AUTH = 'wx_auth';
const BACK_URL = 'login_back_url';
const LOGINTYPE = 'loginType';