import { AxiosPromise } from "axios";
import request from "../request";
const login = {
    //公众号登陆
    loginGzhcode(params: {
        authorizationCode: string
    }): AxiosPromise<login.loginGzhcode> {
        return request({
            url: 'login/gzhcode',
            headers: {
                isToken: "0",
            },
            method: 'post',
            params: params
        })

    }

}

export default login