소스 검색

修复返回值错误

qinchaoyue 6 달 전
부모
커밋
629bfca154
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/Hotline.Api/Controllers/KnowledgeController.cs

+ 4 - 4
src/Hotline.Api/Controllers/KnowledgeController.cs

@@ -515,10 +515,10 @@ namespace Hotline.Api.Controllers
         {
             return new List<KeyValuePair<int, string>>
             {
-                new KeyValuePair<int, string>(1, "已上架"),
-                new KeyValuePair<int, string>(2, "已下架"),
-                new KeyValuePair<int, string>(3, "审核中"),
-                new KeyValuePair<int, string>(4, "审核不通过")
+                new KeyValuePair<int, string>(3, "已上架"),
+                new KeyValuePair<int, string>(4, "已下架"),
+                new KeyValuePair<int, string>(1, "审核中"),
+                new KeyValuePair<int, string>(5, "审核不通过")
             };
         }