Logo
Explore Help
Register Sign In
bichangxiong/ruoyi-plus-vben5
1
0
Fork 0
You've already forked ruoyi-plus-vben5
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
f2f7225c1f9100921eb7498ed356f657307e7240
ruoyi-plus-vben5/apps/web-ele/src/api/core/user.ts

11 lines
219 B
TypeScript
Raw Normal View History

feat: element-plus app (#32) * chore: init project * chore: install element-plus * chore: locale config * fix: eslint error * chore: merge from main * fix: lint * chore: finish todo * chore: update comments * chore: update * fix: lint error * chore: add unplugin-element-plus * chore: add useElementPlusDesignTokens * chore: configure some color
2024-07-31 21:22:43 +08:00
import type { UserInfo } from '@vben/types';
import { requestClient } from '#/api/request';
/**
* 获取用户信息
*/
feat: api suffix (#4065)
2024-08-07 13:42:33 +08:00
export async function getUserInfoApi() {
feat: element-plus app (#32) * chore: init project * chore: install element-plus * chore: locale config * fix: eslint error * chore: merge from main * fix: lint * chore: finish todo * chore: update comments * chore: update * fix: lint error * chore: add unplugin-element-plus * chore: add useElementPlusDesignTokens * chore: configure some color
2024-07-31 21:22:43 +08:00
return requestClient.get<UserInfo>('/user/info');
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 18ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API