李昊 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;
         }
     }