From 650ff4d5ba973be5de9696e7584a59a60b30ee7d Mon Sep 17 00:00:00 2001 From: weiz Date: Mon, 4 Dec 2023 15:02:34 +0800 Subject: [PATCH] update --- app/api/controller/ActionController.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/api/controller/ActionController.php b/app/api/controller/ActionController.php index e7cb0c06..3b493d20 100644 --- a/app/api/controller/ActionController.php +++ b/app/api/controller/ActionController.php @@ -121,8 +121,6 @@ } $data = Action::where('plant_id',$params['plant_id'])->where('type',$params['type'])->order('create_time desc')->select()->each(function($item){ $item['detail'] = json_decode($item['detail'],true); - $item['create_time'] = date('Y-m-d H:i:s',$item['create_time']); - $item['update_time'] = date('Y-m-d H:i:s',$item['update_time']); return $item; })->toArray(); return $this->success('请求成功',$data);