"use strict";
const api_request = require("./request.js");
const sendVerifyCode = (phone) => {
  return api_request.post("/api/auth/send-code", { phone });
};
const loginByPhone = (phone, code) => {
  return api_request.post("/api/auth/login", { phone, code });
};
exports.loginByPhone = loginByPhone;
exports.sendVerifyCode = sendVerifyCode;
//# sourceMappingURL=../../.sourcemap/mp-weixin/api/user.js.map
