feat(edit): AI套图生成、图片切七牛
This commit is contained in:
@@ -47,10 +47,11 @@ describe('网络商品图片导入', () => {
|
||||
],
|
||||
};
|
||||
}
|
||||
if (sql.includes('SELECT bucket, object_key')) {
|
||||
if (sql.includes('SELECT storage_provider, bucket, object_key')) {
|
||||
return {
|
||||
rows: [
|
||||
{
|
||||
storage_provider: 'local_minio',
|
||||
bucket: 'test',
|
||||
object_key: 'product-imports/existing.png',
|
||||
},
|
||||
@@ -74,6 +75,7 @@ describe('网络商品图片导入', () => {
|
||||
{} as ConstructorParameters<typeof MediaService>[1],
|
||||
{
|
||||
OBJECT_STORAGE_ENDPOINT: 'http://127.0.0.1:9000',
|
||||
OBJECT_STORAGE_REGION: 'us-east-1',
|
||||
OBJECT_STORAGE_BUCKET: 'test',
|
||||
objectStorageForcePathStyle: true,
|
||||
objectStorageAccessKey: 'test',
|
||||
|
||||
Reference in New Issue
Block a user