From b922fc550e260cb2b3bb835a0b254b4e89897472 Mon Sep 17 00:00:00 2001 From: wang hou sheng <76928547+wanghousheng@users.noreply.github.com> Date: Wed, 10 Apr 2024 10:51:05 +0800 Subject: [PATCH] 1 --- app/admin/controller/Wxserve.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/admin/controller/Wxserve.php b/app/admin/controller/Wxserve.php index 1f3f5545..ec2d4042 100644 --- a/app/admin/controller/Wxserve.php +++ b/app/admin/controller/Wxserve.php @@ -65,12 +65,18 @@ class Wxserve extends Controller if (!empty($item['exp_info']['exp_time'])) { $item['exp_info']['exp_time'] = date('Y-m-d H:i:s', $item['exp_info']['exp_time']); } + } else { + $item['exp_info']['exp_time'] = '无'; + $item['exp_info']['exp_version'] = '无'; } 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']); } + } else { + $item['release_info']['release_time'] = '无'; + $item['release_info']['release_version'] = '无'; } if (!empty($item['experience_code'])) { $item['experience_code'] = $this->request->domain(true) . $item['experience_code'] . '?time=' . time();