init
This commit is contained in:
@@ -147,7 +147,7 @@ public class SysUserController extends BaseController {
|
||||
if(vo == null){
|
||||
throw new ServiceException("未找到对应的平台");
|
||||
}
|
||||
user.setUserName(vo.getPrefix()+"-"+user.getUserName());
|
||||
user.setUserName(vo.getPrefix()+"_"+user.getUserName());
|
||||
user.setPrefix(vo.getPrefix());
|
||||
deptService.checkDeptDataScope(user.getDeptId());
|
||||
AtomicBoolean checkUserName = new AtomicBoolean(false);
|
||||
|
||||
@@ -147,7 +147,7 @@ public class SysOssServiceImpl implements ISysOssService, OssService {
|
||||
OssClient storage = OssFactory.instance();
|
||||
UploadResult uploadResult;
|
||||
try {
|
||||
uploadResult = storage.uploadFile(file.getBytes(), tenant.getPrefix(), suffix, file.getContentType());
|
||||
uploadResult = storage.uploadFile(file.getBytes(), tenant.getTenantId(), suffix, file.getContentType());
|
||||
} catch (IOException e) {
|
||||
throw new ServiceException(e.getMessage());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user