李昊 %!s(int64=4) %!d(string=hai) anos
pai
achega
ea5071076e

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

@@ -81,6 +81,8 @@ namespace GxPress.Repository.Implement.AppChannel
         /// <returns></returns>
         public async Task<bool> InsertAsync(Entity.tede2.AppChannel.AppChannel model)
         {
+            if (!string.IsNullOrEmpty(model.ImageUrls))
+                model.ImageUrls = StringUtils.RemoveDomain(model.ImageUrls);
             return await _repository.InsertAsync(model) > 0;
         }
     }