"use strict";
const utils_request = require("../../utils/request.js");
function wechatLogin(data) {
  return utils_request.request({
    url: "/auth/login",
    method: "post",
    data: {
      ...data,
      clientId: "e48ac397bff4f031b14d6e671eee49c3",
      grantType: "wechatApplet"
    }
  });
}
function getWechatPhone(data) {
  return utils_request.request({
    url: "/auth/wechat/phone",
    method: "post",
    data
  });
}
function wechatRegister(data) {
  return utils_request.request({
    url: "/auth/wechat/register",
    method: "post",
    data
  });
}
exports.getWechatPhone = getWechatPhone;
exports.wechatLogin = wechatLogin;
exports.wechatRegister = wechatRegister;
//# sourceMappingURL=../../../.sourcemap/mp-weixin/api/auth/index.js.map
