fix: 删除初始化setid问题
This commit is contained in:
@@ -111,7 +111,6 @@ public class SchisandraOssAliController {
|
|||||||
Preconditions.checkNotNull(userId, "用户id不能为空!");
|
Preconditions.checkNotNull(userId, "用户id不能为空!");
|
||||||
SchisandraOssAliBO bo = new SchisandraOssAliBO();
|
SchisandraOssAliBO bo = new SchisandraOssAliBO();
|
||||||
bo.setId(Id);
|
bo.setId(Id);
|
||||||
bo.setUserId(userId);
|
|
||||||
bo.setStatus(String.valueOf(true));
|
bo.setStatus(String.valueOf(true));
|
||||||
if (schisandraOssAliDomainService.update(bo)) {
|
if (schisandraOssAliDomainService.update(bo)) {
|
||||||
return aliOssConfiguration.aliOssClient(userId);
|
return aliOssConfiguration.aliOssClient(userId);
|
||||||
|
@@ -128,7 +128,6 @@ public class SchisandraOssMinioController {
|
|||||||
|
|
||||||
SchisandraOssMinioBO bo = new SchisandraOssMinioBO();
|
SchisandraOssMinioBO bo = new SchisandraOssMinioBO();
|
||||||
bo.setId(Id);
|
bo.setId(Id);
|
||||||
bo.setUserId(userId);
|
|
||||||
bo.setStatus(String.valueOf(true));
|
bo.setStatus(String.valueOf(true));
|
||||||
if (schisandraOssMinioDomainService.update(bo)) {
|
if (schisandraOssMinioDomainService.update(bo)) {
|
||||||
return minioOssConfiguration.minioOssClient(userId);
|
return minioOssConfiguration.minioOssClient(userId);
|
||||||
|
@@ -349,7 +349,6 @@ public class SchisandraOssQiniuController {
|
|||||||
Preconditions.checkNotNull(userId, "用户id不能为空!");
|
Preconditions.checkNotNull(userId, "用户id不能为空!");
|
||||||
SchisandraOssQiniuBO bo = new SchisandraOssQiniuBO();
|
SchisandraOssQiniuBO bo = new SchisandraOssQiniuBO();
|
||||||
bo.setId(Id);
|
bo.setId(Id);
|
||||||
bo.setUserId(userId);
|
|
||||||
bo.setStatus(String.valueOf(true));
|
bo.setStatus(String.valueOf(true));
|
||||||
if (schisandraOssQiniuDomainService.update(bo)) {
|
if (schisandraOssQiniuDomainService.update(bo)) {
|
||||||
return qiNiuOssConfiguration.qiNiuOssClient(userId);
|
return qiNiuOssConfiguration.qiNiuOssClient(userId);
|
||||||
|
@@ -115,7 +115,6 @@ public class SchisandraOssTencentController {
|
|||||||
Preconditions.checkNotNull(userId, "用户id不能为空!");
|
Preconditions.checkNotNull(userId, "用户id不能为空!");
|
||||||
SchisandraOssTencentBO bo = new SchisandraOssTencentBO();
|
SchisandraOssTencentBO bo = new SchisandraOssTencentBO();
|
||||||
bo.setId(Id);
|
bo.setId(Id);
|
||||||
bo.setUserId(userId);
|
|
||||||
bo.setStatus(String.valueOf(true));
|
bo.setStatus(String.valueOf(true));
|
||||||
if (schisandraOssTencentDomainService.update(bo)) {
|
if (schisandraOssTencentDomainService.update(bo)) {
|
||||||
return tencentOssConfiguration.tencentOssClient(userId);
|
return tencentOssConfiguration.tencentOssClient(userId);
|
||||||
|
Reference in New Issue
Block a user