<?php
 namespace App\Modules\PrizePool; use TechOnline\Laravel\Type\BaseType; class PrizeType implements BaseType { const REDBAG = 1; const CREDIT = 2; const CODE = 3; const PHYSICAL = 4; public static function getList() { return [ self::REDBAG => '红包', self::CREDIT => '积分', self::CODE => '兑换码', self::PHYSICAL => '实物', ]; } }