|
@@ -9,7 +9,6 @@ using DataSharing.YiBin.ConvergenceMedia;
|
|
|
using Hotline.Share.Dtos;
|
|
|
using Hotline.Share.Dtos.DataSharingSearch;
|
|
|
using Hotline.Share.Dtos.Order;
|
|
|
-using Hotline.Share.Dtos.Schedulings;
|
|
|
using Hotline.Share.Enums.Order;
|
|
|
using MapsterMapper;
|
|
|
using Microsoft.AspNetCore.Authorization;
|
|
@@ -222,7 +221,7 @@ namespace DataSharing.Host.Controllers.YiBin
|
|
|
[AllowAnonymous]
|
|
|
public async Task<OpenResponse> GetFlowExtract([FromForm] GetOrderWllzReceiveOpenDto dto)
|
|
|
{
|
|
|
- var accountDto = await _dsUserTokenInfoService.CheckAccountAsync(dto.VailCode, HttpContext.RequestAborted);
|
|
|
+ var accountDto = await _dsUserTokenInfoService.CheckAccountAsync(dto.strVailCode, HttpContext.RequestAborted);
|
|
|
if (accountDto is null || accountDto.IsCheckAccount == false)
|
|
|
return OpenResponse.Ok(OtherPlatformsDeResponse<string>.Failed("密钥错误", "-900"));
|
|
|
|
|
@@ -231,10 +230,12 @@ namespace DataSharing.Host.Controllers.YiBin
|
|
|
if (!string.IsNullOrEmpty(strResult))
|
|
|
return OpenResponse.Ok(OtherPlatformsDeResponse<string>.Failed(strResult, "0"));
|
|
|
|
|
|
+ int pageIndex = string.IsNullOrEmpty(dto.CurrentPage) == true ? 1 : Convert.ToInt32(dto.CurrentPage);
|
|
|
+ int pageSize = string.IsNullOrEmpty(dto.PageSize) == true ? 1 : Convert.ToInt32(dto.PageSize);
|
|
|
GetOrderList getOrder = new GetOrderList()
|
|
|
{
|
|
|
- PageIndex = dto.CurrentPage,
|
|
|
- PageSize = dto.PageSize
|
|
|
+ PageIndex = pageIndex,
|
|
|
+ PageSize = pageSize
|
|
|
};
|
|
|
|
|
|
var result = await _fwClient.RequestNoTokenAsync<HotlineClientDataSharingResponse<PagedDto<PublishDto>>>("api/v1/DataSharing/get_order_list_publish",
|