李昊 il y a 4 ans
Parent
commit
323b3064f9

+ 2 - 2
gx_api/GxPress/Repository/GxPress.Repository.Implement/AppChannel/AppChannelRepository.cs

@@ -43,9 +43,9 @@ namespace GxPress.Repository.Implement.AppChannel
         /// 查询
         /// </summary>
         /// <returns></returns>
-        public async Task<IEnumerable<Entity.tede2.AppChannel.AppChannel>> GetAllAsync(AppChannelConst channelTypeValye)
+        public async Task<IEnumerable<Entity.tede2.AppChannel.AppChannel>> GetAllAsync(AppChannelConst channelTypeValue)
         {
-            var result = await _repository.GetAllAsync(Q.Where(nameof(Entity.tede2.AppChannel.AppChannel.ChannelTypeValye), channelTypeValye).OrderBy(nameof(Entity.tede2.AppChannel.AppChannel.Sort)));
+            var result = await _repository.GetAllAsync(Q.Where(nameof(Entity.tede2.AppChannel.AppChannel.ChannelTypeValue), channelTypeValue).OrderBy(nameof(Entity.tede2.AppChannel.AppChannel.Sort)));
             foreach (var item in result)
             {
                 item.ImageUrls = StringUtils.AddDomain(item.ImageUrls);

+ 1 - 1
gx_api/GxPress/Repository/GxPress.Repository.Interface/AppChannel/IAppChannelRepository.cs

@@ -18,7 +18,7 @@ namespace GxPress.Repository.Interface.AppChannel
         /// 查询
         /// </summary>
         /// <returns></returns>
-        Task<IEnumerable<Entity.tede2.AppChannel.AppChannel>> GetAllAsync(AppChannelConst channelTypeValye);
+        Task<IEnumerable<Entity.tede2.AppChannel.AppChannel>> GetAllAsync(AppChannelConst channelTypeValue);
         /// <summary>
         /// 删除
         /// </summary>