类 OrderWxpayController

java.lang.Object
com.hengyi.xbaseweb.system.controller.base.XBaseController
com.hengyi.xbaseweb.pay.controller.OrderWxpayController
所有已实现的接口:
IXBaseController

@RestController @RequestMapping("/pay/wxpay") public class OrderWxpayController extends XBaseController
微信支付
  • 构造器详细资料

    • OrderWxpayController

      public OrderWxpayController()
  • 方法详细资料

    • nativePay

      @GetMapping("nativePay") public ApiResult nativePay(@RequestParam String orderId, @RequestParam String appType, @RequestParam(required=false) String notifyUrl)
      微信扫码支付
      参数:
      orderId -
      notifyUrl -
      返回:
    • pcPay

      @GetMapping("mpPay") public void pcPay(jakarta.servlet.http.HttpServletRequest request, @RequestParam String orderId, @RequestParam(required=false) String notifyUrl)
      pc支付
      参数:
      request -
      orderId -
      notifyUrl -
    • appPay

      @GetMapping("appPay") public ApiResult appPay(@RequestParam String orderId, @RequestParam(required=false) String notifyUrl)
      app支付
    • miniAppPay

      @GetMapping("miniAppPay") public ApiResult miniAppPay(@RequestParam String orderId, @RequestParam(required=false) String notifyUrl)
      小程序支付