"use strict";const s=require("../../request/index.js"),e={getSocialUser:e=>s.request({url:"/member/social-user/get",method:"GET",params:{type:e},custom:{showLoading:!1}}),socialBind:(e,o,t)=>s.request({url:"/member/social-user/bind",method:"POST",data:{type:e,code:o,state:t},custom:{custom:{showSuccess:!0,loadingMsg:"绑定中",successMsg:"绑定成功"}}}),socialUnbind:(e,o)=>s.request({url:"/member/social-user/unbind",method:"DELETE",data:{type:e,openid:o},custom:{showLoading:!1,loadingMsg:"解除绑定",successMsg:"解绑成功"}})};exports.SocialApi=e;
