You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
471 B
JavaScript

import http from "./interface";
const sendCode = (data) => {
return http.request({
url: "/api/staff/send",
method: "POST",
data,
});
};
const login = (data) => {
return http.request({
url: "/api/staff/login",
method: "POST",
data,
});
};
const qrCodeInfo = (data) => {
return http.request({
url: "/api/smart/appointment/get/ticket/info",
method: "POST",
data,
});
};
export default {
sendCode,
login,
qrCodeInfo,
};