import http from '@/utils/http'; import { stringify } from 'qs'; export function getWechatRedirectUrl () { return http({ url: '/wechat/redirect', method: 'get', headers: { 'Content-Type': 'application/json;charset=UTF-8' } }) } export function getWechatOpenId (parameter) { return http({ url: '/wechat/isOauth?' + stringify(parameter), method: 'get', headers: { 'Content-Type': 'application/json;charset=UTF-8' } }) }