新增:开发者中心功能、md编辑器等。

This commit is contained in:
2025-02-17 15:25:24 +08:00
parent 9081e41188
commit d61e683d41
40 changed files with 5036 additions and 591 deletions

View File

@@ -26,7 +26,7 @@ export async function getSiteInfo(params: CmsWebsiteParam) {
*/
export async function getUserInfo(): Promise<User> {
const config = useRuntimeConfig();
const res = await request.get<ApiResult<User>>(config.public.apiServer + '/auth/user',{
const res = await request.get<ApiResult<User>>(COMMON_API_URL + '/auth/user',{
headers: {
TenantId: `${localStorage.getItem('ServerTenantId')}`
}