plough
7 years ago
16 changed files with 121 additions and 71 deletions
After Width: | Height: | Size: 173 B |
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 256 B |
Before Width: | Height: | Size: 256 B After Width: | Height: | Size: 273 B |
@ -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