fix: Wechat ticket message some url cannot clicked

pull/14364/head
jiangweidong 1 month ago committed by Bryan
parent b0dd8d044d
commit a73c8d8285

@ -43,8 +43,8 @@ class BaseTicketMessage(UserMessage):
def get_wecom_context(self): def get_wecom_context(self):
ticket_detail_url = wecom_tool.wrap_redirect_url( ticket_detail_url = wecom_tool.wrap_redirect_url(
[self.get_ticket_detail_url(external=False)] self.get_ticket_detail_url(external=False)
)[0] )
return {'ticket_detail_url': ticket_detail_url} return {'ticket_detail_url': ticket_detail_url}
def gen_html_string(self, **other_context): def gen_html_string(self, **other_context):

Loading…
Cancel
Save