wang hou sheng 8 months ago
parent 19e2da6d0a
commit b922fc550e
  1. 6
      app/admin/controller/Wxserve.php

@ -65,12 +65,18 @@ class Wxserve extends Controller
if (!empty($item['exp_info']['exp_time'])) { if (!empty($item['exp_info']['exp_time'])) {
$item['exp_info']['exp_time'] = date('Y-m-d H:i:s', $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']) { if ($item['release_info']) {
$item['release_info'] = json_decode($item['release_info'], true); $item['release_info'] = json_decode($item['release_info'], true);
if (!empty($item['release_info']['release_time'])) { if (!empty($item['release_info']['release_time'])) {
$item['release_info']['release_time'] = date('Y-m-d H:i:s', $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'])) { if (!empty($item['experience_code'])) {
$item['experience_code'] = $this->request->domain(true) . $item['experience_code'] . '?time=' . time(); $item['experience_code'] = $this->request->domain(true) . $item['experience_code'] . '?time=' . time();

Loading…
Cancel
Save