Jelajahi Sumber

修复返回值错误

qinchaoyue 6 bulan lalu
induk
melakukan
629bfca154
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  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, "审核不通过")
             };
         }