李昊 4 년 전
부모
커밋
ea5071076e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      gx_api/GxPress/Repository/GxPress.Repository.Implement/AppChannel/AppChannelRepository.cs

+ 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;
         }
     }