Authored by tanling

no message

... ... @@ -26,8 +26,8 @@ import java.util.Map;
public abstract class AbstractWeixinPayService extends AbstractPayService {
@Value("${wechat.notifyurl}")
private String notifyURL;
// @Value("${wechat.notifyurl}")
// private String notifyURL;
private final Logger logger = LoggerFactory.getLogger(getClass());
... ... @@ -423,7 +423,7 @@ public abstract class AbstractWeixinPayService extends AbstractPayService {
//"X-Real-IP"可能出现"10.41.100.248, 120.197.194.125"这样的数据,微信支付会报错。需要截取一下
//parameters.put(WeixinPayConfig.ApiConstants.SPBILL_CREATE_IP, WXUtils.getSingleIp(remoteIp));
parameters.put(WeixinPayConfig.ApiConstants.SPBILL_CREATE_IP, "");
parameters.put(WeixinPayConfig.ApiConstants.NOTIFY_URL, notifyURL);
// parameters.put(WeixinPayConfig.ApiConstants.NOTIFY_URL, notifyURL);
//parameters.put(WeixinPayConfig.ApiConstants.TRADE_TYPE, "APP");
parameters.put(WeixinPayConfig.ApiConstants.TRADE_TYPE, getTradeType());
... ...