登录页面初步

This commit is contained in:
禺狨
2023-03-02 17:22:34 +08:00
parent 19e68da26f
commit 04c3fb3851
8 changed files with 175 additions and 5 deletions

10
src/api/system.ts Normal file
View File

@@ -0,0 +1,10 @@
import client from "./internal/httpClient";
export function getImageCaptcha() {
return client.get("/backend/v1/system/image-captcha", {});
}
export function getUser() {
return client.get("/backend/v1/auth/detail", {});
}