Commit 82a32720 authored by 赵啸非's avatar 赵啸非

添加门户license验证接口

parent 205610d1
......@@ -98,7 +98,7 @@ public class LicenseUtil {
// 获取授权比较时间
boolean in = DateUtil.isIn(new Date(), DateUtil.date(startTime), DateUtil.date(endTime));
if(!in) throw new AppException(String.format("授权有效时间:%s已过期,请重新申请证书!",DateUtil.date(endTime) ));
if(!in) throw new AppException(String.format("授权有效时间:%s 已过期,请重新申请证书!",DateUtil.date(endTime).toDateStr() ));
/*
long compareTime = CompareTimeUtil.getCompareTime();
// 判断授权时间
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment