diff --git a/apps/vue/src/api/sys/theme.ts b/apps/vue/src/api/sys/theme.ts index 151b84cc8..931b7c5c0 100644 --- a/apps/vue/src/api/sys/theme.ts +++ b/apps/vue/src/api/sys/theme.ts @@ -3,13 +3,13 @@ import { ThemeSetting } from './model/themeModel'; export const getTheme = () => { return defAbpHttp.get({ - url: '/api/theme/vue-vben-admin', + url: '/api/platform/theme/vue-vben-admin', }); }; export const changeTheme = (themeSetting: ThemeSetting) => { return defAbpHttp.put({ - url: '/api/theme/vue-vben-admin/change', + url: '/api/platform/theme/vue-vben-admin/change', data: themeSetting, }); }; diff --git a/aspnet-core/modules/platform/LINGYUN.Platform.Theme.VueVbenAdmin/LINGYUN/Platform/Theme/VueVbenAdmin/ThemeSettingController.cs b/aspnet-core/modules/platform/LINGYUN.Platform.Theme.VueVbenAdmin/LINGYUN/Platform/Theme/VueVbenAdmin/ThemeSettingController.cs index bd0c7a59e..2c229b85e 100644 --- a/aspnet-core/modules/platform/LINGYUN.Platform.Theme.VueVbenAdmin/LINGYUN/Platform/Theme/VueVbenAdmin/ThemeSettingController.cs +++ b/aspnet-core/modules/platform/LINGYUN.Platform.Theme.VueVbenAdmin/LINGYUN/Platform/Theme/VueVbenAdmin/ThemeSettingController.cs @@ -8,7 +8,7 @@ namespace LINGYUN.Platform.Theme.VueVbenAdmin; [Controller] [RemoteService(Name = PlatformRemoteServiceConsts.RemoteServiceName)] -[Route("api/theme/vue-vben-admin")] +[Route("api/platform/theme/vue-vben-admin")] public class ThemeSettingController : AbpControllerBase, IThemeSettingAppService { protected IThemeSettingAppService ThemeSettingAppService { get; }