李昊 4 years ago
parent
commit
dca13e8c06

+ 1 - 1
gx_api/GxPress/Api/GxPress.Api/AppControllers/AppPageController.cs

@@ -326,7 +326,7 @@ namespace GxPress.Api.AppControllers
                     result.Items = list;
                     return result;
                 }
-                return await appChannelService.GetChannelCategoryMediaPageAsync(request);
+                //return await appChannelService.GetChannelCategoryMediaPageAsync(request);
             }
             return await appChannelService.GetChannelCategoryMediaPageAsync(request);
         }

+ 4 - 0
gx_api/GxPress/Repository/GxPress.Repository.Implement/AppChannel/AppChannelRepository.cs

@@ -71,6 +71,10 @@ namespace GxPress.Repository.Implement.AppChannel
             if (!string.IsNullOrEmpty(request.ImageUrls))
                 model.ImageUrls = StringUtils.RemoveDomain(request.ImageUrls);
             model.IsDisable = request.IsDisable;
+            model.TypeValue = request.TypeValue;
+            model.Name = request.Name;
+            model.Sort = request.Sort;
+            model.IsDisable = request.IsDisable;
             return await _repository.UpdateAsync(model);
         }
         /// <summary>