fix - bug

This commit is contained in:
toom1996
2025-06-20 15:27:14 +08:00
parent b7fe1994f1
commit e25a4156c3
15 changed files with 112 additions and 286 deletions

View File

@ -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', '');
}
}