Commit a0a713b8 by 周业恒

统一一个bos name

parent 8275709d
Pipeline #20622 passed with stages
in 1 minute 2 seconds
......@@ -36,11 +36,11 @@ class BaiduOssModel
public static function getDomain(){
try{
$branch = getenv('branch') ? getenv('branch') : "test";
if ($branch == "test") {
// if ($branch == "test") {
$domain = "https://media-test-bce.cdn.bcebos.com";
}else{
$domain = "https://media-bce.cdn.bcebos.com";
}
// }else{
// $domain = "https://media-bce.cdn.bcebos.com";
// }
}catch(\Exception $exception){
throw new DatabaseException($exception->getMessage());
......@@ -48,4 +48,4 @@ class BaiduOssModel
return $domain;
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment