| @@ -10,6 +10,7 @@ import com.iformall.domain.po.WxAppinfo; | |||||
| import com.iformall.domain.po.WxPayAccount; | import com.iformall.domain.po.WxPayAccount; | ||||
| import com.iformall.enums.EnumAppPlat; | import com.iformall.enums.EnumAppPlat; | ||||
| import com.iformall.enums.EnumProductOrderPayVendor; | import com.iformall.enums.EnumProductOrderPayVendor; | ||||
| import com.iformall.interceptor.BodyReaderHttpServletRequestWrapper; | |||||
| import com.iformall.service.ProductOrderPayService; | import com.iformall.service.ProductOrderPayService; | ||||
| import com.iformall.service.ProductOrderService; | import com.iformall.service.ProductOrderService; | ||||
| import com.iformall.service.WxAppinfoService; | import com.iformall.service.WxAppinfoService; | ||||
| @@ -150,12 +151,17 @@ public class CallbackPayController extends BaseController { | |||||
| @AuthIgnore | @AuthIgnore | ||||
| @ApiOperation("支付回调") | @ApiOperation("支付回调") | ||||
| @PostMapping(value = "/aliNotify") | @PostMapping(value = "/aliNotify") | ||||
| public Map<String,Object> _aliNotify(Map<String,String> map,HttpServletRequest request, HttpServletResponse response) { | |||||
| public Map<String,Object> _aliNotify(HttpServletRequest request, HttpServletResponse response) { | |||||
| logger.debug("[" + getIpAddr() + "] CallbackPayController::_aliNotify"); | logger.debug("[" + getIpAddr() + "] CallbackPayController::_aliNotify"); | ||||
| logger.info("ali支付回调结果通知1{}"+JSONObject.toJSONString(map)); | |||||
| String body1 = ((BodyReaderHttpServletRequestWrapper) request).getBody(); | |||||
| logger.info("ali支付回调结果通知1{}"+JSONObject.toJSONString(body1)); | |||||
| Map< String , String > paranMap = new HashMap < String , String > (); | Map< String , String > paranMap = new HashMap < String , String > (); | ||||
| Map requestParams = request.getParameterMap(); | Map requestParams = request.getParameterMap(); | ||||
| logger.info("ali支付回调结果通知2{}"+JSONObject.toJSONString(requestParams)); | |||||
| for(Iterator iter = requestParams.keySet().iterator(); iter.hasNext();){ | for(Iterator iter = requestParams.keySet().iterator(); iter.hasNext();){ | ||||
| String name = (String)iter.next(); | String name = (String)iter.next(); | ||||
| String[] values = (String [])requestParams.get(name); | String[] values = (String [])requestParams.get(name); | ||||