Merge pull request '时间格式' (#61) from feature/1228zgc into release

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/61
master
张谷成 4 years ago
commit 5410a1cb2e

@ -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