|
@@ -23,15 +23,16 @@ namespace GxPress.Api.AppControllers
|
|
|
_slideRepository = slideRepository;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// App列表
|
|
|
/// </summary>
|
|
|
/// <returns></returns>
|
|
|
- [HttpPost("list")]
|
|
|
- public async Task<PagedList<Slide>> GetList(SlideSearchRequest request)
|
|
|
+ [HttpGet("list")]
|
|
|
+ public async Task<PagedList<Slide>> GetList()
|
|
|
{
|
|
|
- request.TypeId=1;
|
|
|
+ var request = new SlideSearchRequest();
|
|
|
+ request.TypeId = 1;
|
|
|
var result = await _slideRepository.GetListAsync(request);
|
|
|
return result;
|
|
|
}
|