소스 검색

fix(api): 修改获取RIS配置的api 端点

dengdx 1 개월 전
부모
커밋
09397aaffd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/API/patient/risActions.ts

+ 1 - 1
src/API/patient/risActions.ts

@@ -137,7 +137,7 @@ export interface StandardApiResponse {
 export const getRisConfig = async (): Promise<RisConfigResponse> => {
   try {
     console.log('正在获取RIS配置...');
-    const response = await axiosInstance.get('/auth/study/ris');
+    const response = await axiosInstance.get('/auth/study/ris/config');
     
     if (response.data.code !== '0x000000') {
       console.error('获取RIS配置失败', response.data.description);