队列与数据状态码
定义DataStatus
状态码如下:
static::AWAIT
= '等待中'static::REPEAT
= '重复的'static::FINISHED
= '已完成'static::ERROR
= '错误的'static::FKC
= '未审核'static::QUEUE
= '队列中'static::CONTINUE
= '跳过调度'static::UN_HANDLE
= '不处理'
日志状态码
定义一个LogStatus
类文件,用于定义各种错误类型。使用use Domain\Datahub\Instance\Storage\LogStatus
,并定义错误值类型如下:
static::RECORD
= '记录'static::NOTICE
= '通知'static::SUCCESS
= '成功的'static::ERROR
= '错误的'static::FATAL
= '致命的'static::DEBUG
= 'DEBUG'