完成阿里云存储;

This commit is contained in:
2022-07-11 18:22:49 +08:00
parent a2f8a58d38
commit 1e2c75fbbe
5 changed files with 81 additions and 422 deletions

View File

@@ -233,11 +233,14 @@ function build_upload_url($url)
switch ($upload_type) {
case 'local_public':
$prefix_url = Request::domain();
// $prefix_url = Request::domain();
break;
case 'qnoss':
$prefix_url = $config['qnoss_domain'];
break;
case 'alioss':
$prefix_url = $config['alioss_domain'];
break;
default:
# code...