💄 配置常量

This commit is contained in:
WispX
2021-12-15 22:44:49 +08:00
parent ac1b39070a
commit 06fa1e5636
13 changed files with 762 additions and 24 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace App\Enums;
use BenSampo\Enum\Enum;
/**
* @method static static DefaultAlbum()
* @method static static DefaultStrategy()
* @method static static IsAutoClearPreview()
*/
final class UserConfigKey extends Enum
{
/** @var string 默认相册 */
const DefaultAlbum = 'default_album';
/** @var string 默认策略 */
const DefaultStrategy = 'default_strategy';
/** @var string 上传是否自动清除预览 */
const IsAutoClearPreview = 'is_auto_clear_preview';
}