fix-删除连接关闭
This commit is contained in:
parent
2e9d71a2e3
commit
44532aa257
@ -5,7 +5,7 @@ INSERT INTO `file_app`(`app_code`, `app_name`, `status`, `remark`, `extension`,
|
|||||||
VALUES ('zeus', 'zeus', 1, 'zeus', NULL, now(), now(), '', '', 0);
|
VALUES ('zeus', 'zeus', 1, 'zeus', NULL, now(), now(), '', '', 0);
|
||||||
|
|
||||||
INSERT INTO `file_business_scene`(`app_channel_bucket_no`, `app_code`, `channel_code`, `bucket_name`, `business_scene`, `directory`, `create_at`, `update_at`, `create_by`, `update_by`, `is_delete`)
|
INSERT INTO `file_business_scene`(`app_channel_bucket_no`, `app_code`, `channel_code`, `bucket_name`, `business_scene`, `directory`, `create_at`, `update_at`, `create_by`, `update_by`, `is_delete`)
|
||||||
VALUES ('zeus:aliyun:zeus', 'zeus', 'aliyun', 'axzo_public', 'xlsx', 'oss-test/zeus', now(), now(), NULL, NULL, 0);
|
VALUES ('zeus:aliyun:zeus', 'zeus', 'aliyun', 'axzo_public', 'recruit_collect', 'oss-test/zeus', now(), now(), NULL, NULL, 0);
|
||||||
|
|
||||||
INSERT INTO `file_channel`(`channel_code`, `channel_name`, `status`, `remark`, `extension`, `priority`, `create_at`, `update_at`, `create_by`, `update_by`, `is_delete`)
|
INSERT INTO `file_channel`(`channel_code`, `channel_name`, `status`, `remark`, `extension`, `priority`, `create_at`, `update_at`, `create_by`, `update_by`, `is_delete`)
|
||||||
VALUES ('aliyun', '阿里云', 1, NULL, NULL, 1, now(), now(), NULL, NULL, 0);
|
VALUES ('aliyun', '阿里云', 1, NULL, NULL, 1, now(), now(), NULL, NULL, 0);
|
||||||
|
|||||||
@ -40,8 +40,6 @@ public class AliOssServiceImpl implements AliOssService {
|
|||||||
} catch (ClientException e) {
|
} catch (ClientException e) {
|
||||||
log.error("uploadByStream ClientException", e);
|
log.error("uploadByStream ClientException", e);
|
||||||
return "";
|
return "";
|
||||||
} finally {
|
|
||||||
client.shutdown();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
StringBuilder allBuilder = new StringBuilder();
|
StringBuilder allBuilder = new StringBuilder();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user