admin
2019-01-28 f7ed4e6bbe9be95d268481e66d70d90e70e07e12
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.yeshi.fanli.util;
 
public class SignUtil {
 
    private static String KEY = "LINESTOKEN2016BB";
 
    public static boolean isSignRight(String device, String timestamp, String sign) {
        if (StringUtil.Md5(device + KEY + timestamp).equals(sign))
            return true;
        return false;
    }
 
}