using Entity.Api.Req; using Entity.Api.Resp; using HybirdFrameworkCore.Entity; using Microsoft.AspNetCore.Mvc; using Service.Station; namespace WebStarter.Controllers; /** * 充电订单 */ [ApiController] [Route("api/[controller]")] public class ChargeOrderController : ControllerBase { private readonly ChargeOrderService chargeOrderService; public ChargeOrderController(ChargeOrderService chargeOrderService) { this.chargeOrderService = chargeOrderService; } /// /// 分页数据 /// /// [HttpPost("QueryPage")] public async Task>> QueryPage([FromBody] QueryChargeOrderReq req) { chargeOrderService.QueryChargeOrder(req); return Result>.Success(null); } /// /// 获取列表 /// /// [HttpPost("GetList")] public async Task>> GetList([FromBody] QueryChargeOrderReq req) { return Result>.Success(null); } /// /// 修改充电订单 /// /// /// [HttpPost("Modify")] public async Task> Modify([FromBody] ModifyChargeOrderReq req) { return Result.Success(null); } /// /// 充电订单上报云端 /// /// [HttpGet("UploadCloud/{id}")] public async Task> UploadCloud(long id) { return Result.Success(null); } }