类 TokenUtil
- java.lang.Object
-
- cn.wizzer.app.web.commons.utils.TokenUtil
-
@IocBean public class TokenUtil extends Object
Created by wizzer on 2018/4/4.
-
-
方法详细资料
-
generateToken
public String generateToken(Date date, String appid) throws IOException, ClassNotFoundException
生成token- 参数:
date- 失效时间appid- appid- 返回:
- 抛出:
IOExceptionClassNotFoundException
-
-