李昊 4 年 前
コミット
1c50bc69c0
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      gx_api/GxPress/Api/GxPress.Api/AdminControllers/AdminAppChannelController.cs

+ 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>
         /// 获取导航分类详情