fix: 🧩 修复路径缺陷

This commit is contained in:
Bunny 2024-10-24 23:37:50 +08:00
parent 5f178556ed
commit 96def30fab
1 changed files with 3 additions and 3 deletions

View File

@ -2,15 +2,15 @@ import { http } from '@/api/service/request';
/** actuator断端点-系统服务获取 */ /** actuator断端点-系统服务获取 */
export const fetchSystemHealthList = () => { export const fetchSystemHealthList = () => {
return http.request<any>('get', '/health'); return http.request<any>('get', 'actuator/health');
}; };
/** actuator断端点-系统信息 */ /** actuator断端点-系统信息 */
export const fetchSystemInfo = () => { export const fetchSystemInfo = () => {
return http.request<any>('get', '/info'); return http.request<any>('get', 'actuator/info');
}; };
/** actuator断端点-系统缓存 */ /** actuator断端点-系统缓存 */
export const fetchSystemCaches = () => { export const fetchSystemCaches = () => {
return http.request<any>('get', '/caches'); return http.request<any>('get', 'actuator/caches');
}; };