mirror of
https://github.com/lsky-org/lsky-pro.git
synced 2025-01-08 11:57:52 +08:00
fix
This commit is contained in:
parent
71924b0397
commit
979b628f59
@ -43,7 +43,7 @@ class GroupRequest extends FormRequest
|
||||
'exclude_if:configs.is_enable_scan,false',
|
||||
'in:mark,delete',
|
||||
],
|
||||
'configs.scan_configs.driver' => ['exclude_if:configs.is_enable_scan,false', 'in:tencent,aliyun,baidu'],
|
||||
'configs.scan_configs.driver' => ['exclude_if:configs.is_enable_scan,false', 'in:tencent,aliyun'],
|
||||
'configs.scan_configs.drivers.tencent.endpoint' => [$requiredIfReview('tencent')],
|
||||
'configs.scan_configs.drivers.tencent.secret_id' => [$requiredIfReview('tencent')],
|
||||
'configs.scan_configs.drivers.tencent.secret_key' => [$requiredIfReview('tencent')],
|
||||
|
@ -429,10 +429,6 @@ class ImageService
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($driver === 'baidu') {
|
||||
|
||||
}
|
||||
} catch (\Throwable $e) {
|
||||
throw new UploadException('Scan: '.$e->getMessage());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user