@property<EOL><INDENT>def jsapi_ticket(self):<DEDENT>
self._check_appid_appsecret()<EOL>if callable(self.__jsapi_ticket_getfunc):<EOL><INDENT>self.__jsapi_ticket, self.__jsapi_ticket_expires_at = self.__jsapi_ticket_getfunc()<EOL><DEDENT>if self.__jsapi_ticket:<EOL><INDENT>now = time.time()<EOL>if self.__jsapi_ticket_expires_at - now > <NUM_LIT>:<EOL><INDENT>return self.__jsapi_ticket<EOL><DEDENT><DEDENT>self.grant_jsapi_ticket()  <EOL>return self.__jsapi_ticket<EOL>
获取当前 jsapi ticket 值, 本方法会自行维护 jsapi ticket 有效性