<?php
 namespace TechSoft\Laravel\MemberChat\Type; use TechOnline\Laravel\Type\BaseType; class MemberChatMsgType implements BaseType { const TEXT = 1; const IMAGE = 2; public static function getList() { return [ self::TEXT => '图片', self::IMAGE => '文字', ]; } }