Ver Fonte

更新!

TRX há 1 ano atrás
pai
commit
3a84631cb0

+ 6 - 5
FullCardServer/src/main/java/com/zhongshu/card/server/core/controller/feign/ExpenseFlowFeignController.java

@@ -1,14 +1,17 @@
 package com.zhongshu.card.server.core.controller.feign;
 
 import com.github.microservice.net.ResultContent;
-import com.zhongshu.card.client.model.payment.ExpenseFlowModel;
+import com.zhongshu.card.client.model.payment.ExpenseFlowAreaModel;
 import com.zhongshu.card.client.service.payment.ExpenseFlowService;
 import io.swagger.v3.oas.annotations.Hidden;
 import io.swagger.v3.oas.annotations.Operation;
 import io.swagger.v3.oas.annotations.Parameter;
 import io.swagger.v3.oas.annotations.tags.Tag;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
 
 /**
  * @author TRX
@@ -25,9 +28,7 @@ public class ExpenseFlowFeignController {
 
     @Operation(summary = "查询订单信息", description = "查询订单信息")
     @RequestMapping(value = "manager/getDetailByPaymentNo", method = {RequestMethod.GET})
-    public ResultContent<ExpenseFlowModel> getDetailByPaymentNo(
-            @Parameter(name = "paymentNo", description = "paymentNo", required = false)
-            @RequestParam(name = "paymentNo") String paymentNo) {
+    public ResultContent<ExpenseFlowAreaModel> getDetailByPaymentNo(@Parameter(name = "paymentNo", description = "paymentNo", required = false) @RequestParam(name = "paymentNo") String paymentNo) {
         return expenseFlowService.getDetailByPaymentNo(paymentNo);
     }