| 123456789101112131415161718 |
- "use strict";
- const utils_request = require("../utils/request.js");
- function wechatLogin(data) {
- return utils_request.request({
- url: "/miniapp/auth/login",
- method: "POST",
- data
- });
- }
- function getAgreement(type) {
- return utils_request.request({
- url: `/miniapp/auth/agreement?type=${type}`,
- method: "GET"
- });
- }
- exports.getAgreement = getAgreement;
- exports.wechatLogin = wechatLogin;
- //# sourceMappingURL=../../.sourcemap/mp-weixin/api/auth.js.map
|