Commit 36857c52 authored by gao's avatar gao

频次认证

parent bc2cd7ab
......@@ -68,13 +68,8 @@ public class FormatBytesUtil {
/**
* 时间戳
*
* @return 4字节时间戳
* @return 13位时间戳
*/
// public static byte[] getTimestamp() {
// int i = (int) (System.currentTimeMillis() / 1000);
// byte[] time = getBytesOfInt(i);
// return time;
// }
public static String getTimestamp() {
long i = (System.currentTimeMillis());
......
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