类 OrderAliPayController
java.lang.Object
com.hengyi.xbaseweb.system.controller.base.XBaseController
com.hengyi.xbaseweb.pay.controller.OrderAliPayController
- 所有已实现的接口:
IXBaseController
@RestController
@RequestMapping("/pay/alipay")
public class OrderAliPayController
extends XBaseController
支付宝支付
-
字段概要
从类继承的字段 com.hengyi.xbaseweb.system.controller.base.XBaseController
request, userSessionService -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明app支付voidh5Pay(jakarta.servlet.http.HttpServletResponse response, String orderId, String returnUrl, String notifyUrl) 调用SDK进行wap支付voidh5PayNoSdk(jakarta.servlet.http.HttpServletResponse response, String orderId, String returnUrl, String notifyUrl) h5支付创建支付宝扫码支付订单voidpcPay(jakarta.servlet.http.HttpServletResponse response, String orderId, String returnUrl, String notifyUrl) pc支付从类继承的方法 com.hengyi.xbaseweb.system.controller.base.XBaseController
error, error, getAppId, getCurrentUser, getCurrentUserId, getCurrentUsername, getCurrentUserRoles, getMessage, getMessage, status, success, success, toResult, toResult
-
构造器详细资料
-
OrderAliPayController
public OrderAliPayController()
-
-
方法详细资料
-
nativePay
@GetMapping("nativePay") public ApiResult nativePay(@RequestParam String orderId, @RequestParam String appType, @RequestParam(required=false) String notifyUrl) 创建支付宝扫码支付订单- 参数:
orderId-notifyUrl-- 返回:
-
appPay
@GetMapping("appPay") @ResponseBody public ApiResult appPay(@RequestParam String orderId, @RequestParam(required=false) String notifyUrl) app支付 -
h5PayNoSdk
@GetMapping("h5PayNoSdk") public void h5PayNoSdk(jakarta.servlet.http.HttpServletResponse response, @RequestParam String orderId, @RequestParam String returnUrl, @RequestParam(required=false) String notifyUrl) h5支付- 参数:
response-returnUrl- 支付成功返回的地址
-
h5Pay
@GetMapping("h5Pay") public void h5Pay(jakarta.servlet.http.HttpServletResponse response, @RequestParam String orderId, @RequestParam String returnUrl, @RequestParam(required=false) String notifyUrl) 调用SDK进行wap支付- 参数:
response-orderId-returnUrl-notifyUrl-
-
pcPay
@GetMapping("pcPay") public void pcPay(jakarta.servlet.http.HttpServletResponse response, @RequestParam String orderId, @RequestParam String returnUrl, @RequestParam(required=false) String notifyUrl) pc支付- 参数:
response-orderId-returnUrl-notifyUrl-
-