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
973 B
2 lines
973 B
"use strict";const s=require("../../request/index.js"),r={getUserInfo:()=>s.request({url:"/member/user/get",method:"GET",custom:{showLoading:!1,auth:!0}}),updateUser:e=>s.request({url:"/member/user/update",method:"PUT",data:e,custom:{auth:!0,showSuccess:!0,successMsg:"更新成功"}}),updateUserMobile:e=>s.request({url:"/member/user/update-mobile",method:"PUT",data:e,custom:{loadingMsg:"验证中",showSuccess:!0,successMsg:"修改成功"}}),updateUserMobileByWeixin:e=>s.request({url:"/member/user/update-mobile-by-weixin",method:"PUT",data:{code:e},custom:{showSuccess:!0,loadingMsg:"获取中",successMsg:"修改成功"}}),updateUserPassword:e=>s.request({url:"/member/user/update-password",method:"PUT",data:e,custom:{loadingMsg:"验证中",showSuccess:!0,successMsg:"修改成功"}}),resetUserPassword:e=>s.request({url:"/member/user/reset-password",method:"PUT",data:e,custom:{loadingMsg:"验证中",showSuccess:!0,successMsg:"修改成功"}})};exports.UserApi=r;
|