value => '待审核', self::Success->value => '通过', self::Fail->value => '不通过', ]; } public static function options() { $list = []; foreach (static::map() as $key => $value) { array_push($list, ['label' => $value, 'value' => $key]); } return $list; } public function text() { return data_get(self::map(), $this->value); } }