Ver código fonte

feature/EK-4047

ryan 1 semana atrás
pai
commit
4df28972d8

+ 3 - 1
backendApi/modules/v1/models/lists/finance/RechargeList.php

@@ -114,7 +114,9 @@ class RechargeList extends \common\libs\dataList\DataList implements DataListInt
                 'PAY_DATE' => [
                 'PAY_DATE' => [
                     'header' => \Yii::t('ctx', 'modelListFinancePaidAt'), // 申请时间
                     'header' => \Yii::t('ctx', 'modelListFinancePaidAt'), // 申请时间
                     'value' => function ($row) {
                     'value' => function ($row) {
-                        return date('Y-m-d',$row['PAY_DATE']).'\t';
+                        return (new DateTime([
+                            'value' => $row['CREATED_AT'],
+                        ]))->toDate()->result();
                     },
                     },
                     'headerOther' => ['width' => '190'],
                     'headerOther' => ['width' => '190'],
                 ],
                 ],