def update_movie_ticket(self, code, ticket_class, show_time, duration,<EOL>screening_room, seat_number, card_id=None):
ticket = {<EOL>'<STR_LIT:code>': code,<EOL>'<STR_LIT>': ticket_class,<EOL>'<STR_LIT>': show_time,<EOL>'<STR_LIT>': duration,<EOL>'<STR_LIT>': screening_room,<EOL>'<STR_LIT>': seat_number<EOL>}<EOL>if card_id:<EOL><INDENT>ticket['<STR_LIT>'] = card_id<EOL><DEDENT>return self._post(<EOL>'<STR_LIT>',<EOL>data=ticket<EOL>)<EOL>
更新电影票