创建时间处理

This commit is contained in:
2025-08-20 13:37:25 +08:00
parent c7c25381cc
commit bba9c294f4
3 changed files with 4 additions and 5 deletions
@@ -50,6 +50,7 @@ class CustomerController extends BaseController
: null);
foreach ($data['records'] as &$item) {
$item = $this->service->getCustomer($item);
$item = Util::formatDate($item,['created_at','updated_at']);
}
return $this->success($data);
} catch (\Throwable $e) {