using Entity.Api.Req;
using Entity.Api.Resp;
using HybirdFrameworkCore.Entity;
using Microsoft.AspNetCore.Mvc;
namespace WebStarter.Controllers;
/**
* 换电订单
*/
[ApiController]
[Route("api/[controller]")]
public class SwapOrderController : ControllerBase
{
///
/// 分页数据
///
///
[HttpPost("QueryPage")]
public async Task>> QueryPage([FromBody] QuerySwapOrderPageReq req)
{
return Result>.Success(null);
}
///
/// 修改换电订单
///
///
///
[HttpGet("Modify")]
public async Task> Modify([FromBody] ModifySwapOrderReq req)
{
return Result.Success(null);
}
///
/// 删除
///
/// ids 订单列表
///
[HttpGet("DeleteByIds")]
public async Task> DeleteByIds(List ids)
{
return Result.Success(null);
}
///
/// 换电订单上报云端
///
///
[HttpGet("UploadCloud/{id}")]
public async Task> UploadCloud(long id)
{
return Result.Success(null);
}
///
/// 换电订单上报云端
///
///
[HttpPost("Add")]
public async Task> Add([FromBody] AddSwapOrderReq req)
{
return Result.Success(null);
}
}