From 5ad1e1e942b33f06e6f6b1f66b5b95dc5e1f0014 Mon Sep 17 00:00:00 2001 From: Bill <771989711@qq.com> Date: Wed, 1 Nov 2023 08:34:47 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8Dbug=E3=80=91?= =?UTF-8?q?=E5=B1=85=E6=B0=91=E7=AB=AF=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E5=90=8E=E7=BC=BA=E5=B0=91customerId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/epmet/service/impl/LoginServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) 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);