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());
... ...
... ... @@ -50,5 +50,5 @@ wechat.app.partnerid=1218934901
wechat.app.partnerkey=b22de5cfd0ded341e0516505f72649a9
wechat.app.appid=wx049fdaa3ba9cdd7a
wechat.app.newnotifyurl=${wechat.app.newnotifyurl}
wechat.notifyurl=${wechat.notifyurl}
alipay.notifyurl=${alipay.notifyurl}
... ...