php8 match

// 是否为套装 1是 2否// match ($params['is_bundle']) {// 1 => (function () use ($params) {// if (!isset($params['bundles']) || empty($params['bundles'])) {//
posted @ 2023-03-26 23:40  没事就更  阅读(17)  评论(0编辑  收藏  举报