-- =====================================================
-- MinIO 对象存储配置更新
-- 访问站点：106.55.100.207:9000
-- accessKey/secretKey/bucketName：rjzytest
-- 桶权限类型：public (1)
-- =====================================================

-- 更新默认 MinIO 配置 (config_key = 'minio')
UPDATE sys_oss_config SET
    access_key   = 'rjzytest',
    secret_key   = 'rjzytest',
    bucket_name  = 'rjzytest',
    endpoint     = '106.55.100.207:9000',
    access_policy = '1'
WHERE config_key = 'minio';

-- 更新图片服务配置 (config_key = 'image')
UPDATE sys_oss_config SET
    access_key   = 'rjzytest',
    secret_key   = 'rjzytest',
    bucket_name  = 'rjzytest',
    endpoint     = '106.55.100.207:9000',
    access_policy = '1'
WHERE config_key = 'image';
