小说小程序前端代码仓库(小程序)
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.
 
 
 

38 lines
654 B

// 登录相关接口
const api = {
// 微信小程序授权登录
wxLogin: {
url: '/all_login/appletLogin',
method: 'GET',
limit: 500,
showLoading: true,
},
// 获取公众号签名
getSignPackage: {
url: '/all_login/getSignPackage',
method: 'POST',
},
// 绑定手机号码
bindPhone: {
url: '/all_login/bindPhone',
method: 'GET',
auth: true,
},
// 获取用户信息
getUserInfo: {
url: '/all_login/getUserByToken',
method: 'GET',
auth: true,
},
// 更新用户信息
updateInfo: {
url: '/all_login/updateUserInfo',
method: 'POST',
auth: true,
limit: 500,
showLoading: true,
},
}
export default api