Browse Source
* commit '69fdeb14b411673789b11cc3f31eee6c29baed27': REPORT-5775 帮hzzz传pr,代码管理那边有bug,明明上传了也没合进去master
superman
7 years ago
1 changed files with 17 additions and 0 deletions
@ -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…
Reference in new issue