fix - bug
This commit is contained in:
@ -3,10 +3,13 @@
|
||||
namespace App\Constants;
|
||||
|
||||
use Hyperf\Constants\AbstractConstants;
|
||||
use function Hyperf\Support\env;
|
||||
|
||||
#[Constants]
|
||||
class Config extends AbstractConstants
|
||||
{
|
||||
//以下为图片业务自定义常量
|
||||
public const DOMAIN = "https://seo.23cm.cn";
|
||||
public static function getDomain()
|
||||
{
|
||||
return env('APP_DOMAIN', '');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user