fix-初始数据,端口号
This commit is contained in:
parent
c6cb7f1f97
commit
a89806619b
@ -1,14 +1,14 @@
|
||||
INSERT INTO `app_channel_bucket`( `app_channel_bucket_no`, `app_code`, `channel_code`, `bucket_name`, `access_control`, `remark`, `extension`, `create_at`, `update_at`, `create_by`, `update_by`, `is_delete`)
|
||||
VALUES ( 'test:aliyun:test', 'test', 'aliyun', 'axzo_public', '', NULL, NULL, now(), now(), '', '', 0);
|
||||
VALUES ( 'zeus:aliyun:zeus', 'zeus', 'aliyun', 'axzo_public', '', NULL, NULL, now(), now(), '', '', 0);
|
||||
|
||||
INSERT INTO `file_app`(`app_code`, `app_name`, `status`, `remark`, `extension`, `create_at`, `update_at`, `create_by`, `update_by`, `is_delete`)
|
||||
VALUES ('test', '测试', 1, '测试', 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`)
|
||||
VALUES ('test:aliyun:test', 'test', 'aliyun', 'axzo_public', '1', 'oss-test', now(), now(), NULL, NULL, 0);
|
||||
VALUES ('zeus:aliyun:zeus', 'zeus', 'aliyun', 'axzo_public', 'xlsx', '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`)
|
||||
VALUES ('aliyun', '阿里云', 1, NULL, NULL, 1, now(), now(), NULL, NULL, 0);
|
||||
|
||||
INSERT INTO `file_upload_config`(`app_channel_bucket_no`, `app_code`, `channel_code`, `bucket_name`, `directory`, `storage_unit`, `storage_size`, `file_format`, `create_at`, `update_at`, `create_by`, `update_by`, `is_delete`)
|
||||
VALUES ('test:aliyun:test', 'test', 'aliyun', 'axzo-public', 'oss-test', 'MB', 1, 'jpg', now(), now(), NULL, NULL, 0);
|
||||
VALUES ('zeus:aliyun:zeus', 'zeus', 'aliyun', 'axzo-public', 'oss-test/zeus', 'MB', 5, 'jpg', now(), now(), NULL, NULL, 0);
|
||||
@ -17,7 +17,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
||||
*/
|
||||
@FeignClient(
|
||||
name = "oss",
|
||||
url = "http://oss"
|
||||
url = "http://oss:9123"
|
||||
)
|
||||
@RequestMapping(value = "/api/v1/server")
|
||||
public interface ServerFileServiceApi {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user