fix:利元亨即时通获取token传的是工号
This commit is contained in:
@@ -288,6 +288,13 @@ public class SpdmUserController {
|
||||
String authHeader = "Basic " + new String(encodedAuth);
|
||||
|
||||
Long tenantId = 1979091834410176514L;
|
||||
|
||||
// 利元亨传工号
|
||||
R<List<SysUserVO>> sysUserVOR = remoteUserServiceFeign.getUserListByUserName(String.valueOf(userParamDto.getUserId()));
|
||||
if (CollectionUtils.isNotEmpty(sysUserVOR.getData())) {
|
||||
userParamDto.setUserId(sysUserVOR.getData().get(0).getUserId());
|
||||
}
|
||||
|
||||
R<List<SysStaffVO>> staffListReturn = remoteTenantServiceFeign.findStaffListByUserId(userParamDto.getUserId(), SecurityConstants.FROM_IN);
|
||||
List<SysStaffVO> staffList = staffListReturn.getData();
|
||||
if (CollectionUtils.isNotEmpty(staffList)) {
|
||||
|
||||
Reference in New Issue
Block a user