diff --git a/app/admin/controller/Wxserve.php b/app/admin/controller/Wxserve.php index 22197961..1f3f5545 100644 --- a/app/admin/controller/Wxserve.php +++ b/app/admin/controller/Wxserve.php @@ -62,9 +62,15 @@ class Wxserve extends Controller $item['create_time'] = date('Y-m-d H:i:s', $item['create_time']); if ($item['exp_info']) { $item['exp_info'] = json_decode($item['exp_info'], true); + if (!empty($item['exp_info']['exp_time'])) { + $item['exp_info']['exp_time'] = date('Y-m-d H:i:s', $item['exp_info']['exp_time']); + } } if ($item['release_info']) { $item['release_info'] = json_decode($item['release_info'], true); + if (!empty($item['release_info']['release_time'])) { + $item['release_info']['release_time'] = date('Y-m-d H:i:s', $item['release_info']['release_time']); + } } if (!empty($item['experience_code'])) { $item['experience_code'] = $this->request->domain(true) . $item['experience_code'] . '?time=' . time();