|
@@ -128,7 +128,7 @@ public class TmUserServiceImpl extends ServiceImpl<ITmUserMapper, TmUser> implem
|
|
if(tmDepartment == null){
|
|
if(tmDepartment == null){
|
|
throw new BusinessException(ResultCode.NOT_DEPT);
|
|
throw new BusinessException(ResultCode.NOT_DEPT);
|
|
}
|
|
}
|
|
- FdkkLoginRequest request = new FdkkLoginRequest(param.getUserName(),param.getPassword(),param.getPassword());
|
|
|
|
|
|
+ FdkkLoginRequest request = new FdkkLoginRequest(param.getUserName(),param.getPassword(),param.getPassword(),"1");
|
|
FdkkResponse fdkkResponse = fdKKClient.fdkkRegister(request);
|
|
FdkkResponse fdkkResponse = fdKKClient.fdkkRegister(request);
|
|
if(fdkkResponse.getCode() == 0 ){
|
|
if(fdkkResponse.getCode() == 0 ){
|
|
this.addNewUser(param,role);
|
|
this.addNewUser(param,role);
|