You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
1.8 KiB

using Entity.Api.Req;
using Entity.Api.Resp;
using HybirdFrameworkCore.Entity;
using Microsoft.AspNetCore.Mvc;
namespace WebStarter.Controllers;
/**
*
*/
[ApiController]
[Route("api/[controller]")]
public class ChargeOrderController : ControllerBase
{
/// <summary>
/// 分页数据
/// </summary>
/// <returns></returns>
[HttpPost("QueryPage")]
public async Task<Result<PageResult<ChargeOrderResp>>> QueryPage([FromBody] QueryChargeOrderReq req)
{
return Result<PageResult<ChargeOrderResp>>.Success(null);
}
/// <summary>
/// 导出
/// </summary>
/// <returns></returns>
7 months ago
/*[HttpPost("Export")]
public async void Export([FromBody] QueryChargeOrderReq req,HttpRequest httpRequest)
{
7 months ago
}*/
/// <summary>
/// 获取列表
/// </summary>
/// <returns></returns>
[HttpPost("GetList")]
public async Task<Result<List<ChargeOrderResp>>> GetList([FromBody] QueryChargeOrderReq req)
{
return Result<List<ChargeOrderResp>>.Success(null);
}
/// <summary>
/// 修改充电订单
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
[HttpPost("Modify")]
public async Task<Result<bool>> Modify([FromBody] ModifyChargeOrderReq req)
{
return Result<bool>.Success(null);
}
/// <summary>
/// 充电订单上报云端
/// </summary>
/// <returns></returns>
[HttpGet("UploadCloud/{id}")]
public async Task<Result<bool>> UploadCloud(long id)
{
return Result<bool>.Success(null);
}
}