| | |
| | | package cc.mrbird.febs.pay.controller; |
| | | |
| | | import cc.mrbird.febs.common.entity.FebsResponse; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.ijpay.alipay.AliPayApi; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | |
| | | @RequestMapping("/aliCallBack") |
| | | public FebsResponse aliPayCallBack(HttpServletRequest request) { |
| | | log.info("进入回调"); |
| | | Map<String, String> params = AliPayApi.toMap(request); |
| | | |
| | | log.info("回调参数:{}", JSONObject.toJSONString(params)); |
| | | for (Map.Entry<String, String> entry : params.entrySet()) { |
| | | log.info("支付宝回调:{}===={}", entry.getKey(), entry.getValue()); |
| | | } |