<?php
 namespace Module\Banner\Type; use ModStart\Core\Type\BaseType; class BannerType implements BaseType { const IMAGE = 1; const IMAGE_TITLE_SLOGAN_LINK = 2; public static function getList() { return [ self::IMAGE => '图片', self::IMAGE_TITLE_SLOGAN_LINK => '图片+标题+描述+链接', ]; } }