Kaynağa Gözat

fix bug

release_toaliyun_real
winter 4 yıl önce
ebeveyn
işleme
7706686c2b
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  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 Dosyayı Görüntüle

@@ -170,7 +170,10 @@ public class WxCouponOrderCVo extends WxCouponOrder {
if (StringUtils.isBlank(couponOrderId)) { if (StringUtils.isBlank(couponOrderId)) {
return null; 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()); return Base64Util.encode(sb.toString().getBytes());
} }


Yükleniyor…
İptal
Kaydet