Browse Source

Merge pull request #1505 in BA/design from ~MOMEAK/design9.0:feature/9.0 to feature/9.0

* commit '69fdeb14b411673789b11cc3f31eee6c29baed27':
  REPORT-5775 帮hzzz传pr,代码管理那边有bug,明明上传了也没合进去
master
superman 7 years ago
parent
commit
8b0a42a28a
  1. 17
      designer_base/src/com/fr/design/mainframe/SiteCenterToken.java

17
designer_base/src/com/fr/design/mainframe/SiteCenterToken.java

@ -0,0 +1,17 @@
package com.fr.design.mainframe;
import com.fr.stable.CodeUtils;
import java.text.SimpleDateFormat;
import java.util.Calendar;
/**
* Created by hzzz on 2017/12/4.
*/
public class SiteCenterToken {
public static String generateToken() {
String date = new SimpleDateFormat("yyyy-MM-dd").format(Calendar.getInstance().getTime());
return CodeUtils.md5Encode(date, "", "MD5");
}
}
Loading…
Cancel
Save