feat : oss

This commit is contained in:
2024-11-12 11:14:48 +08:00
parent a9f81888b7
commit 86b94d168c
7 changed files with 74 additions and 12 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace App\Constants\Common;
class OssObjectCode
{
/**
* 状态 1=有效 2=无效
*/
const int ENABLE = 1;
const int DISABLE = 2;
/**
* 类型 1=图片 2=音频 3=视频
*/
const int TYPE_IMAGE = 1;
const int TYPE_AUDIO = 2;
const int TYPE_VIDEO = 3;
}