[ 'type' => 'post_comment', 'type_desc' => '帖子评论', 'icon' => 'chat', 'color' => '#1468f5', ], self::COMMENT_REPLY => [ 'type' => 'comment_reply', 'type_desc' => '评论回复', 'icon' => 'chat', 'color' => '#7c4dff', ], self::FOLLOWED => [ 'type' => 'followed', 'type_desc' => '新增关注', 'icon' => 'account', 'color' => '#10b981', ], self::ADMIN_POINTS => [ 'type' => 'admin_points', 'type_desc' => '积分到账', 'icon' => 'coupon', 'color' => '#f59e0b', ], self::SYSTEM => [ 'type' => 'system', 'type_desc' => '系统消息', 'icon' => 'bell', 'color' => '#64748b', ], ]; return $map[$sceneId] ?? [ 'type' => 'system', 'type_desc' => '系统消息', 'icon' => 'bell', 'color' => '#64748b', ]; } public static function getOptions(): array { $options = []; foreach (self::getSceneIds() as $sceneId) { $meta = self::getMeta($sceneId); $options[] = [ 'value' => $sceneId, 'label' => $meta['type_desc'], ]; } return $options; } }