|
@@ -107,13 +107,13 @@ public class TradeOrderDetailController {
|
|
|
return success(AfterSaleConvert.INSTANCE.convert02(afterSaleByOrderNo));
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/after_saleByMer")
|
|
|
+ @GetMapping("/after_saleByOrderId")
|
|
|
@Operation(summary = "新增接口20240402-售后信息-商户根据订单号查询售后")
|
|
|
- @Parameter(name = "id", description = "订单ID", required = true, example = "1")
|
|
|
+ @Parameter(name = "orderId", description = "订单ID", required = true, example = "1")
|
|
|
@PreAuthorize("@ss.hasPermission('trade:order:query')")
|
|
|
- public CommonResult<List<AfterSaleDetailRespVO>> afterSaleByMer(@RequestParam("id") Long id) {
|
|
|
+ public CommonResult<List<AfterSaleDetailRespVO>> afterSaleByMer(@RequestParam("orderId") Long orderId) {
|
|
|
// 查询订单
|
|
|
- List<TradeOrderDO> orders = tradeOrderQueryService.getOrderByMerId(id);
|
|
|
+ List<TradeOrderDO> orders = tradeOrderQueryService.getOrderByMerId(orderId);
|
|
|
if (orders.isEmpty()) {
|
|
|
return success(null);
|
|
|
}
|