| | |
| | | // +---------------------------------------------------------------------- |
| | | |
| | | 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'; |