时间格式

master
tping 4 years ago
parent e3f020965d
commit 98ebb36aa3

@ -64,6 +64,8 @@ class SocietyInfoController extends ThinkController
foreach ($parseData as &$v) { foreach ($parseData as &$v) {
if ($v['is_potential'] == 1) $v['is_potential'] = "是"; if ($v['is_potential'] == 1) $v['is_potential'] = "是";
else $v['is_potential'] = "否"; else $v['is_potential'] = "否";
$v['communication_time'] = date('Y-m-d H:i:s', $v['communication_time']);
$v['create_time'] = date('Y-m-d H:i:s', $v['create_time']);
unset($v['id']); unset($v['id']);
unset($v['game_id']); unset($v['game_id']);
unset($v['update_time']); unset($v['update_time']);

Loading…
Cancel
Save