Quellcode durchsuchen

修改查售后接口信息

Yangzw vor 11 Monaten
Ursprung
Commit
b848f64874

+ 4 - 4
feifan-module-mall/feifan-module-trade-biz/src/main/java/cn/newfeifan/mall/module/trade/controller/admin/order/TradeOrderDetailController.java

@@ -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);
         }