修改日志名称

This commit is contained in:
2020-08-23 22:15:16 +08:00
parent 608d0d5993
commit bec648912c
5 changed files with 23 additions and 15 deletions

View File

@@ -18,6 +18,16 @@ class Log extends Model
'out_source' => 'array',
];
const TYPE_FREEZECOUPON = 'freezecoupon';
const TYPE_DESTROY = 'destroy';
const TYPE_QUERY = 'query';
const TYPE_GRANT = 'grant';
const TYPES = [
self::TYPE_FREEZECOUPON => '核销',
self::TYPE_DESTROY => '作废',
self::TYPE_QUERY => '查询',
self::TYPE_GRANT => '发券',
];
public function __construct(array $attributes = [])
{
parent::__construct($attributes);