Browse Source

gov端点登录token字符串生成

dev_shibei_match
yinzuomei 5 years ago
parent
commit
30849f12da
  1. 4
      epmet-auth/src/main/java/com/epmet/service/impl/GovLoginServiceImpl.java

4
epmet-auth/src/main/java/com/epmet/service/impl/GovLoginServiceImpl.java

@ -255,9 +255,9 @@ public class GovLoginServiceImpl implements GovLoginService {
Map<String, Object> map = new HashMap<>();
map.put("app", LoginConstant.APP_GOV);
map.put("client", LoginConstant.CLIENT_WXMP);
map.put("staffId", staffId);
map.put("userId", staffId);
String token = jwtTokenUtils.createToken(map);
logger.info("app:" + LoginConstant.APP_GOV + ";client:" + LoginConstant.CLIENT_WXMP + ";staffId:" + staffId + ";生成token[" + token + "]");
logger.info("app:" + LoginConstant.APP_GOV + ";client:" + LoginConstant.CLIENT_WXMP + ";userId:" + staffId + ";生成token[" + token + "]");
return token;
}

Loading…
Cancel
Save