xucaiqin преди 2 години
родител
ревизия
3b0b2ce58b
променени са 1 файла, в които са добавени 17 реда и са изтрити 4 реда
  1. 17 4
      sckw-modules/sckw-example/src/main/java/com/sckw/example/controller/TestController.java

+ 17 - 4
sckw-modules/sckw-example/src/main/java/com/sckw/example/controller/TestController.java

@@ -33,9 +33,22 @@ public class TestController {
     public R<List<WalletDto>> wall(@RequestParam("uid") Long uid, String channel, Long filter) {
         return payCenterDubboService.wallet(uid, null, filter);
     }
-//    @GetMapping("/test")
-//    public R<Object> test(@RequestParam("entId") Long entId) {
-//        return R.ok(paymentDubboService.checkSettlement(entId));
-//    }
+
+    @GetMapping("/test")
+    public R<Object> test(@RequestParam("entId") Long entId,Integer type) {
+        return R.ok(paymentDubboService.countSell(entId, type));
+    }
+    @GetMapping("/test1")
+    public R<Object> test1(@RequestParam("entId") Long entId,Integer type) {
+        return R.ok(paymentDubboService.countPurchase(entId, type));
+    }
+    @GetMapping("/test2")
+    public R<Object> test2(@RequestParam("entId") Long entId,Integer type) {
+        return R.ok(paymentDubboService.countCarrier(entId, type));
+    }
+    @GetMapping("/test3")
+    public R<Object> test3(@RequestParam("entId") Long entId,Integer type) {
+        return R.ok(paymentDubboService.countShipper(entId, type));
+    }
 
 }