Package com.bytedesk.wechat.pay
Class WeChatPayRestController
java.lang.Object
com.bytedesk.wechat.pay.WeChatPayRestController
@RestController
@RequestMapping("/api/v1/wechat/pay")
public class WeChatPayRestController
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
create
(RechargeRequest request) org.springframework.http.ResponseEntity<?>
-
Field Details
-
weChatPayService
-
-
Constructor Details
-
WeChatPayRestController
public WeChatPayRestController()
-
-
Method Details
-
create
@PostMapping("/create") public org.springframework.http.ResponseEntity<?> create(@RequestBody RechargeRequest request) -
refund
@PostMapping("/refound") public org.springframework.http.ResponseEntity<?> refund(String outTradeNo)
-