初始化

master
法外狂徒张三 2024-08-30 19:50:46 +08:00
parent b883f8f72b
commit 131e63706f
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public class AliPayController {
private static final String CHARSET ="utf-8";
private static final String SIGN_TYPE ="RSA2";
@PostMapping("/pay")
@RequestMapping(value = "/pay", method = RequestMethod.POST)
@ResponseBody
public void pay(@RequestBody AliPay aliPay, HttpServletResponse httpResponse) throws Exception {
AlipayClient alipayClient = new DefaultAlipayClient(GATEWAY_URL, aliPayConfig.getAppId(),