value('name'); } /** * @notes 退款状态描述 * @param $value * @param $data * @return string|string[] * @author 段誉 * @date 2022/12/1 10:55 */ public function getRefundStatusTextAttr($value, $data) { return RefundEnum::getStatusDesc($data['refund_status']); } }