李昊 4 년 전
부모
커밋
a5815b80bf
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      gx_api/GxPress/Api/GxPress.Api/WebControllers/NavigationController.cs

+ 11 - 0
gx_api/GxPress/Api/GxPress.Api/WebControllers/NavigationController.cs

@@ -30,5 +30,16 @@ namespace GxPress.Api.WebControllers
         {
             return await navigationRepository.GetNavigationResults(id);
         }
+
+        /// <summary>
+        /// 列表 pc 1 移动 2
+        /// </summary>
+        /// <returns></returns>
+        [HttpGet("{terminal}")]
+        [AllowAnonymous]
+        public async Task<IEnumerable<NavigationResult>> GetList(int terminal)
+        {
+            return await navigationRepository.GetAllAsync(terminal);
+        }
     }
 }