artwork-repair-h5/http/login.js

45 lines
623 B
JavaScript
Raw Normal View History

2024-07-08 06:25:32 +00:00
import http from './interface'
2024-07-09 08:47:19 +00:00
// 登录权限
export const checkLogin = (data) => {
return http.request({
url: '/user/artwork/login',
method: 'POST',
data
})
}
//
2024-07-08 06:25:32 +00:00
// 签到
export const goLogin = (data) => {
return http.request({
url: '/user/login',
method: 'POST',
data
})
}
// 验证码
export const code = (data) => {
return http.request({
url: '/user/send',
method: 'POST',
data
})
}
// 获取详情
export const getDetail = (data) => {
return http.request({
url: '/api/appointment/train/info',
method: 'POST',
data
})
}
export default {
goLogin,
code,
2024-07-09 08:47:19 +00:00
getDetail,
checkLogin
2024-07-08 06:25:32 +00:00
}