|
@@ -1021,6 +1021,9 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
|
Map<String, String> payResult = new HashMap<>();
|
|
|
//大于0元,获取微信支付信息
|
|
|
if (payPrice.compareTo(BigDecimal.ZERO) != 0) {
|
|
|
+ if(Validator.isEmpty(userVo.getGzhOpenId())){
|
|
|
+ throw new CustomException("请先授权绑定公众号信息");
|
|
|
+ }
|
|
|
payResult = iWxPayService.paymentGzh(pay_no, userVo.getGzhOpenId(), body, payPrice,bo.getUrl());
|
|
|
}
|
|
|
|