|
|
|
@@ -161,7 +161,7 @@ public class WxCouponOrderCVo extends WxCouponOrder { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static final int expiredSeconds = 30; |
|
|
|
public static final int expiredSeconds = 90; |
|
|
|
public static String calcuteExpiredCouponOrderId(String couponOrderId) { |
|
|
|
if (StringUtils.isBlank(couponOrderId)) { |
|
|
|
return null; |
|
|
|
@@ -176,4 +176,8 @@ public class WxCouponOrderCVo extends WxCouponOrder { |
|
|
|
} |
|
|
|
return new String(Base64Util.decode(couponOrderId)); |
|
|
|
} |
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
System.out.println(getDecodeExpiredCouponOrderId("NjIzMzkxMjIxMjY1MzkxNjE2OjIwMjEtMTEtMjQgMTY6MDg6NDM=")); |
|
|
|
} |
|
|
|
} |