Procházet zdrojové kódy

修复返回值错误

qinchaoyue před 6 měsíci
rodič
revize
629bfca154

+ 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, "审核不通过")
             };
         }