def update_code(self, card_id, old_code, new_code):
return self._post(<EOL>'<STR_LIT>',<EOL>data={<EOL>'<STR_LIT>': card_id,<EOL>'<STR_LIT:code>': old_code,<EOL>'<STR_LIT>': new_code<EOL>}<EOL>)<EOL>
更新卡券 code