| | |
| | | import com.ruoyi.payment.api.model.RefundResp; |
| | | import com.ruoyi.payment.api.vo.AliPaymentReq; |
| | | import com.ruoyi.payment.api.vo.AliQueryOrder; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | * @author zhibing.pu |
| | | * @Date 2024/8/24 14:29 |
| | | */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/aliH5") |
| | | public class H5AliPayController { |
| | |
| | | public void chargingOrderALICallback(HttpServletRequest request, HttpServletResponse response) { |
| | | try { |
| | | Map<String, String> callback = h5PayUtil.alipayCallback(request); |
| | | log.info("支付回调:{}", callback); |
| | | if(null != callback){ |
| | | String out_trade_no = callback.get("out_trade_no"); |
| | | String attach = callback.get("subject"); |