<?php $output = array( 'data' => '数据', 'msg' => '获取成功', 'code' => 200 ); exit(json_encode($output))