public string GetRefreshToken(string token) { var gkInfo = JwtHelper.OpenJwtToken(token); token = JwtHelper.CreatJwtToken(gkInfo); return(token); }
public string CheckLogin(string loginName, string loginPwd) { string token = string.Empty; var item = GetUserInfo(loginName, loginPwd); if (item != null) { token = JwtHelper.CreatJwtToken(item.user_id + "|" + item.user_name, 3600); } return(token); }