__('待支付'), 'paid' => __('已支付'), 'refunding' => __('退款中'), 'refunded' => __('已退款'), 'closed' => __('已关闭'), ]; } public function getStatusTextAttr($value, $data) { $value = $value ?: ($data['status'] ?? ''); $list = $this->getStatusList(); return $list[$value] ?? ''; } }