|
|
|
@@ -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()); |
|
|
|
} |
|
|
|
|
|
|
|
|