fix
parent
cabc13bf92
commit
5d8f61920d
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"version" : "1.0",
|
||||||
|
"configurations" : [
|
||||||
|
{
|
||||||
|
"playground" : "standard",
|
||||||
|
"type" : "uni-app:app-android"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"app-plus" :
|
||||||
|
{
|
||||||
|
"launchtype" : "local"
|
||||||
|
},
|
||||||
|
"type" : "uniCloud"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,28 @@
|
|||||||
|
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,
|
||||||
|
};
|
Loading…
Reference in New Issue