Browse Source

pc运营端token添加客户Id

dev_shibei_match
sunyuchao 4 years ago
parent
commit
9fdb382b74
  1. 1
      epmet-auth/src/main/java/com/epmet/service/impl/GovWebServiceImpl.java

1
epmet-auth/src/main/java/com/epmet/service/impl/GovWebServiceImpl.java

@ -106,6 +106,7 @@ public class GovWebServiceImpl implements GovWebService {
logger.info("app:" + formDTO.getApp() + ";client:" + formDTO.getClient() + ";userId:" + userId + ";生成token[" + token + "]"); logger.info("app:" + formDTO.getApp() + ";client:" + formDTO.getClient() + ";userId:" + userId + ";生成token[" + token + "]");
int expire = jwtTokenProperties.getExpire(); int expire = jwtTokenProperties.getExpire();
TokenDto tokenDto = new TokenDto(); TokenDto tokenDto = new TokenDto();
tokenDto.setCustomerId(formDTO.getCustomerId());
tokenDto.setApp(formDTO.getApp()); tokenDto.setApp(formDTO.getApp());
tokenDto.setClient(formDTO.getClient()); tokenDto.setClient(formDTO.getClient());
tokenDto.setUserId(userId); tokenDto.setUserId(userId);

Loading…
Cancel
Save