李昊 4 years ago
parent
commit
1c50bc69c0

+ 1 - 1
gx_api/GxPress/Api/GxPress.Api/AdminControllers/AdminAppChannelController.cs

@@ -75,7 +75,7 @@ namespace GxPress.Api.AdminControllers
         [HttpPost("channel")]
         public async Task<bool> InsertAsync(Entity.tede2.AppChannel.AppChannel model)
         {
-            return await appChannelRepository.UpdateAsync(model);
+            return await appChannelRepository.InsertAsync(model);
         }
         /// <summary>
         /// 获取导航分类详情