dev默认端口修改为10086,同步修改代码获取url地址方法
This commit is contained in:
parent
55aa4c4a92
commit
d9405aad90
|
@ -131,6 +131,14 @@ public class LoginServiceImpl implements ILoginService {
|
|||
//}
|
||||
//登录
|
||||
StpUtil.login(sysUserEntity.getId());
|
||||
//修改ddid或者修改微信id
|
||||
if((entity.getDdUserId() != null && !"".equals(entity.getDdUserId()))
|
||||
|| (entity.getWxUserId() != null && !"".equals(entity.getWxUserId())) ){
|
||||
sysUserEntity.setDdUserId(entity.getDdUserId());
|
||||
sysUserEntity.setWxUserId(entity.getWxUserId());
|
||||
sysUserDao.update(sysUserEntity);
|
||||
}
|
||||
|
||||
//获取token
|
||||
SaTokenInfo tokenInfo = StpUtil.getTokenInfo();
|
||||
String token = tokenInfo.getTokenValue();
|
||||
|
|
|
@ -373,6 +373,8 @@
|
|||
<if test="sts != null and sts != ''">sts = #{sts},</if>
|
||||
<if test="org_id != null and org_id != ''">org_id = #{org_id},</if>
|
||||
<if test="companyId != null and companyId != ''">company_id = #{companyId},</if>
|
||||
<if test="ddUserId != null and ddUserId != ''">dd_user_id = #{ddUserId},</if>
|
||||
<if test="wxUserId != null and wxUserId != ''">wx_user_id = #{wxUserId},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
|
Loading…
Reference in New Issue