1234567891011121314151617181920 |
- <?php
- namespace app\common\Enum;
- /**
- * 抽奖活动相关枚举类
- */
- class ActivityEnum
- {
- // ============ 活动基础状态 活动状态:0=未开始,1=进行中,2=已结束,3=手动停止 ============
- const ACTIVITY_STATUS_NOT_STARTED = 0; // 未开始
- const ACTIVITY_STATUS_ONGOING = 1; // 进行中
- const ACTIVITY_STATUS_ENDED = 2; // 已结束
- const ACTIVITY_STATUS_CANCELLED = 3; // 手动停止/已取消
- const ACTIVITY_STATUS_SUSPENDED = 4; // 已暂停
- const ACTIVITY_STATUS_CLOSED = 5; // 已关闭
- const ACTIVITY_STATUS_DELETED = 6; // 已删除
- const ACTIVITY_STATUS_EXPIRED = 7; // 已过期
-
- }
|