还是一贯风格:用代码说话!!! <?php class ShareModel extends BaseModel { var $appId = APPID; var $appSecret = APPSECRET; public function getJsApiTicket() { $ticket_file = '/dev/shm/jsapi_ticket.json'; $data = json_decode(file_get_contents($ticket_file)); if ($data