| | |
| | | private ComBatteryCommodityOrderBargainRecordMapper orderBargainRecordMapper; |
| | | @Value("${min.app.isTest}") |
| | | private Boolean isTest; |
| | | @Value("${min.app.isRefundTest}") |
| | | private Boolean isRefundTest; |
| | | @Value("${min.app.appid}") |
| | | private String appid; |
| | | @Value("${min.app.payKey}") |
| | | private String payKey; |
| | | @Value("${min.app.mchId}") |
| | | private String mchId; |
| | | @Value("${min.app.currencyNotifyUrl}") |
| | | private String currencyNotifyUrl; |
| | | // @Value("${min.app.currencyNotifyUrl}") |
| | | // private String currencyNotifyUrl; |
| | | |
| | | /** |
| | | * description queryByPage 分页查询 |
| | |
| | | money = BigDecimal.valueOf(0.01); |
| | | } |
| | | // 调用wx支付 |
| | | result = WxPayUtils.getUnifiedorder(appid, mchId, payKey, currencyNotifyUrl + PayCpmstant.BATTERY_STORE_ACTIVITY_PAY_NOTIFY_URL |
| | | , remark, openId, orderNo, money,type); |
| | | // result = WxPayUtils.getUnifiedorder(appid, mchId, payKey, currencyNotifyUrl + PayCpmstant.BATTERY_STORE_ACTIVITY_PAY_NOTIFY_URL |
| | | // , remark, openId, orderNo, money,type); |
| | | log.info("用户购买商品微信支付返回参数:" + result); |
| | | return result; |
| | | } |