|
@@ -31,10 +31,7 @@ namespace GxPress.Api.AdminControllers
|
|
|
public async Task<IEnumerable<Entity.tede2.AppStartPage.AppStartPage>> GetAllAsync()
|
|
|
{
|
|
|
var result = await appStartPageRepository.GetAllAsync();
|
|
|
- foreach (var item in result)
|
|
|
- {
|
|
|
- item.ImageUrl = Common.Tools.StringUtils.AddDomain(item.ImageUrl);
|
|
|
- }
|
|
|
+
|
|
|
return result;
|
|
|
}
|
|
|
/// <summary>
|
|
@@ -50,7 +47,7 @@ namespace GxPress.Api.AdminControllers
|
|
|
/// <summary>
|
|
|
/// 修改
|
|
|
/// </summary>
|
|
|
- /// <param name="model"></param>
|
|
|
+ /// <param name="request"></param>
|
|
|
/// <returns></returns>
|
|
|
[HttpPut("")]
|
|
|
public async Task<bool> UpdateAsync(AppStartPageUpdateRequest request)
|