You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
563 B
2 lines
563 B
"use strict";const r=require("../../request/index.js"),u={getSocialUser:s=>r.request({url:"/member/social-user/get",method:"GET",params:{type:s},custom:{showLoading:!1}}),socialBind:(s,e,o)=>r.request({url:"/member/social-user/bind",method:"POST",data:{type:s,code:e,state:o},custom:{custom:{showSuccess:!0,loadingMsg:"绑定中",successMsg:"绑定成功"}}}),socialUnbind:(s,e)=>r.request({url:"/member/social-user/unbind",method:"DELETE",data:{type:s,openid:e},custom:{showLoading:!1,loadingMsg:"解除绑定",successMsg:"解绑成功"}})};exports.SocialApi=u;
|