<?php
 namespace App\Modules\PrizePool; use TechOnline\Laravel\Type\BaseType; class ActivityType implements BaseType { const BIG_WHEEL = 'bigWheel'; const GRAB_MACHINE = 'grabMachine'; const SQUARE = 'square'; const EGG = 'egg'; const SCRATCH = 'scratch'; const BOX = 'box'; const SHAKE = 'shake'; const SIGN = 'sign'; public static function getList() { return [ self::BIG_WHEEL => '大转盘', self::GRAB_MACHINE => '抓娃娃机', self::SQUARE => '九宫格抽奖', self::EGG => '砸金蛋', self::SCRATCH => '刮刮卡', self::BOX => '百宝箱', self::SHAKE => '摇一摇', self::SIGN => '签到有奖', ]; } }