|
|
@@ -0,0 +1,25 @@
|
|
|
+package com.zhongshu.card.server.core.controller.pay;
|
|
|
+
|
|
|
+import com.github.microservice.types.payment.PaymentType;
|
|
|
+import com.zhongshu.card.server.core.service.pay.SettleService;
|
|
|
+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.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+@RestController
|
|
|
+@RequestMapping("payTest")
|
|
|
+@Tag(name = "资金测试", description = "机构资金-提现")
|
|
|
+public class PayTestController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ SettleService settleService;
|
|
|
+
|
|
|
+ @PostMapping("settle")
|
|
|
+ public Object settle(){
|
|
|
+ return settleService.settle("665fc0ef9083d203896d3549", "67061bea18e3af0f903b067a", 1731985560059L, "remark", PaymentType.UnionFrictionlessPay);
|
|
|
+ }
|
|
|
+}
|