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.
32 lines
656 B
32 lines
656 B
import request from "../utils/request.js";
|
|
|
|
// 获取验证码
|
|
export function getCodeImg() {
|
|
return request({
|
|
url: '/captchaImage',
|
|
header: {
|
|
isToken: false
|
|
},
|
|
method: 'get',
|
|
timeout: 20000
|
|
})
|
|
}
|
|
export function login({ username, password, code, uuid, client }) {
|
|
return request({
|
|
url: "/login",
|
|
method: "post",
|
|
data: { username, password, code, uuid, client },
|
|
header: {
|
|
isToken: false,
|
|
repeatSubmit: false,
|
|
},
|
|
});
|
|
}
|
|
// 退房列表
|
|
export function listCheckoutAlert(query) {
|
|
return request({
|
|
url: "/apartment/manager/listCheckoutAlert",
|
|
method: "get",
|
|
params: query,
|
|
});
|
|
}
|