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