|
@@ -42,11 +42,13 @@ public class AppPayOrderController {
|
|
|
@Operation(summary = "获得支付订单")
|
|
|
@Parameter(name = "id", description = "支付订单编号", required = true, example = "1024")
|
|
|
public CommonResult<PayOrderRespVO> getOrder(@RequestParam("id") Long id) {
|
|
|
- CommonResult<PayOrderRespVO> rs =
|
|
|
- success(PayOrderConvert.INSTANCE.convert(payOrderService.getOrderByStatus(id)));
|
|
|
-
|
|
|
-
|
|
|
- return rs;
|
|
|
+ return success(PayOrderConvert.INSTANCE.convert(payOrderService.getOrder(id)));
|
|
|
+ }
|
|
|
+ @GetMapping("/getByStatus")
|
|
|
+ @Operation(summary = "获得支付订单")
|
|
|
+ @Parameter(name = "id", description = "支付订单编号", required = true, example = "1024")
|
|
|
+ public CommonResult<PayOrderRespVO> getOrderByStatus(@RequestParam("id") Long id) {
|
|
|
+ return success(PayOrderConvert.INSTANCE.convert(payOrderService.getOrderByStatus(id)));
|
|
|
}
|
|
|
|
|
|
@PostMapping("/submit")
|