kevin_zhangl 3 lat temu
rodzic
commit
03e8107da5

+ 10 - 10
backendApi/modules/v1/models/lists/bonus/PeriodBonusList.php

@@ -86,11 +86,11 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
                 ],
                 'CALCULATED_AT' => [
                     'header' => 'Date', // 结算时间
-                    'value' => function($row) {
-                        return (new DateTime([
-                            'value' => $row['CALCULATED_AT'],
-                        ]))->result();
-                    },
+//                    'value' => function($row) {
+//                        return (new DateTime([
+//                            'value' => $row['CALCULATED_AT'],
+//                        ]))->result();
+//                    },
                     'headerOther' => ['width' => '170'],
                 ],
                 'LAST_USER_NAME' => [
@@ -143,11 +143,11 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
                 ],
                 'LAST_CREATED_AT' => [
                     'header' => 'Joining Date', // 加入时间
-                    'value' => function($row) {
-                        return (new DateTime([
-                            'value' => $row['LAST_CREATED_AT'],
-                        ]))->result();
-                    },
+//                    'value' => function($row) {
+//                        return (new DateTime([
+//                            'value' => $row['LAST_CREATED_AT'],
+//                        ]))->result();
+//                    },
                     'headerOther' => ['width' => '170'],
                 ],
                 'LAST_REC_USER_NAME' => [

+ 0 - 1
common/helpers/Tool.php

@@ -499,7 +499,6 @@ class Tool {
      */
     public static function approachOrderCall($call)
     {
-        LoggerTool::notice([is_array($call), is_object($call)]);
         $model = new ApproachOrderCall();
         $model->event = $call['event'];
         $model->data = $call['data'];

+ 1 - 1
frontendApi/modules/v1/controllers/ShopController.php

@@ -198,7 +198,7 @@ class ShopController extends BaseController {
             $request = \Yii::$app->request->post();
             // TODO:支付webhook回调日志
             LoggerTool::info($request);
-            Tool::approachOrderCall($request);
+//            Tool::approachOrderCall($request);
             try {
                 $data = $request['data'];
                 $status = $request['data']['status'] ?? 'false';