diff --git a/code/smart-community/epmet-auth/src/main/java/com/epmet/service/impl/LoginServiceImpl.java b/code/smart-community/epmet-auth/src/main/java/com/epmet/service/impl/LoginServiceImpl.java index 30fc1002..fa059f90 100644 --- a/code/smart-community/epmet-auth/src/main/java/com/epmet/service/impl/LoginServiceImpl.java +++ b/code/smart-community/epmet-auth/src/main/java/com/epmet/service/impl/LoginServiceImpl.java @@ -18,6 +18,7 @@ import com.epmet.commons.tools.utils.DateUtils; import com.epmet.commons.tools.utils.Result; import com.epmet.commons.tools.utils.SpringContextUtils; import com.epmet.commons.tools.validator.ValidatorUtils; +import com.epmet.constant.SsoConstant; import com.epmet.dto.UserDTO; import com.epmet.dto.UserWechatDTO; import com.epmet.dto.form.*; @@ -404,6 +405,7 @@ public class LoginServiceImpl implements LoginService { String token) { int expire = jwtTokenProperties.getExpire(); TokenDto tokenDto = new TokenDto(); + tokenDto.setCustomerId(SsoConstant.RIZHAO_CUSTOMER_ID); tokenDto.setApp(formDTO.getApp()); tokenDto.setClient(formDTO.getClient()); tokenDto.setUserId(userId);