🎨 use alova / add nprogress

This commit is contained in:
landaiqing
2024-08-08 23:45:51 +08:00
parent 562071cdc5
commit c13613ec07
18 changed files with 533 additions and 252 deletions

11
src/api/user/index.ts Normal file
View File

@@ -0,0 +1,11 @@
import {service} from "@/utils/alova/service.ts";
export const getUserInfo = () => {
return service.Get('/api/auth/user/List', {
meta: {
ignoreToken: true
},
});
};