作者 王智

xiugai

... ... @@ -124,7 +124,7 @@ class Diary extends Backend
$row->getRelation('type')->visible(['type']);
$row['content'] = $this->substr_format(base64_decode($row['content']), 10, $replace = '...', $encoding = 'UTF-8');
// $row['con'] = base64_decode($row['con']) == '' ? '无' : base64_decode($row['con']);
$row['json'] = $this->substr_format($row['json'] == '' ? '无' : dump($row['json']), 10, $replace = '...', $encoding = 'UTF-8');
$row['json'] = $this->substr_format($row['json'] == '' ? '无' : $this->JsonTypeDeCode($row['json']), 10, $replace = '...', $encoding = 'UTF-8');
}
$result = array("total" => $list->total(), "rows" => $list->items());
... ...