Browse Source

增加推送时间

kevin_zhangl 2 years ago
parent
commit
120bc87d54
1 changed files with 9 additions and 0 deletions
  1. 9 0
      backendApi/modules/v1/models/lists/shop/OrderList.php

+ 9 - 0
backendApi/modules/v1/models/lists/shop/OrderList.php

@@ -274,6 +274,15 @@ class OrderList extends \common\libs\dataList\DataList implements DataListInterf
                     },
                     },
                     'headerOther' => ['width' => '190'],
                     'headerOther' => ['width' => '190'],
                 ],
                 ],
+                'SEND_AT' => [
+                    'header' => '推送时间',
+                    'value' => function ($row) {
+                        return (new DateTime([
+                            'value' => $row['SEND_AT'],
+                        ]))->result();
+                    },
+                    'headerOther' => ['width' => '190'],
+                ],
                 'DELIVERY_AT' => [
                 'DELIVERY_AT' => [
                     'header' => '发货时间',
                     'header' => '发货时间',
                     'value' => function ($row) {
                     'value' => function ($row) {