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.
25 lines
470 B
25 lines
470 B
8 months ago
|
import request from '@/utils/requset'
|
||
|
|
||
|
export const getCode = (time:any) => {
|
||
|
return request({
|
||
|
url:'/sys/randomImage/' + time,
|
||
|
})
|
||
|
}
|
||
|
export const loginApi = (data:any) => {
|
||
|
return request({
|
||
|
url:'/sys/login',
|
||
|
method:"POST",
|
||
|
data
|
||
|
})
|
||
|
}
|
||
|
export const getUserInfoApi = () => {
|
||
|
return request({
|
||
|
url:'/sys/user/getUserInfo'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export const logOut = () => {
|
||
|
return request({
|
||
|
url:'/sys/logout'
|
||
|
})
|
||
|
}
|