"use strict"; const sheep_request_index = require("../../request/index.js"); const sheep_config_index = require("../../config/index.js"); const third = { // 微信相关 wechat: { // 小程序订阅消息 subscribeTemplate: (params) => sheep_request_index.request({ url: "third/wechat/subscribeTemplate", method: "GET", params: { platform: "miniProgram" }, custom: { showError: false, showLoading: false } }), // 获取微信小程序码 getWxacode: (path) => `${sheep_config_index.baseUrl}${sheep_config_index.apiPath}third/wechat/wxacode?platform=miniProgram&payload=${encodeURIComponent( JSON.stringify({ path }) )}` }, // 苹果相关 apple: { // 第三方登录 login: (data) => sheep_request_index.request({ url: "third/apple/login", method: "POST", data, custom: { showSuccess: true, loadingMsg: "登陆中" } }) } }; const __vite_glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: third }, Symbol.toStringTag, { value: "Module" })); exports.__vite_glob_0_13 = __vite_glob_0_13;