Просмотр исходного кода

Merge branch 'release_toaliyun_real' of https://git.malls.iformall.com/server/formallProject into release_toaliyun_real

release_toaliyun_real
xhxu 4 лет назад
Родитель
Сommit
b43c5c1bcf
1 измененных файлов: 4 добавлений и 1 удалений
  1. +4
    -1
      mallinkService/src/main/java/com/iformall/domain/vo/WxCouponOrderCVo.java

+ 4
- 1
mallinkService/src/main/java/com/iformall/domain/vo/WxCouponOrderCVo.java Просмотреть файл

@@ -170,7 +170,10 @@ public class WxCouponOrderCVo extends WxCouponOrder {
if (StringUtils.isBlank(couponOrderId)) {
return null;
}
StringBuffer sb = new StringBuffer().append(couponOrderId).append(arg).append(DateUtils.date2String(DateUtils.getSecondsTimeAfter(expiredSeconds, new Date())));
StringBuffer sb = new StringBuffer().append(couponOrderId);
if (expiredSeconds > 0 ) {
sb.append(arg).append(DateUtils.date2String(DateUtils.getSecondsTimeAfter(expiredSeconds, new Date())));
}
return Base64Util.encode(sb.toString().getBytes());
}


Загрузка…
Отмена
Сохранить