feat : oss
This commit is contained in:
19
app/Constants/Common/OssObjectCode.php
Normal file
19
app/Constants/Common/OssObjectCode.php
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user