This commit is contained in:
yumoqing 2026-07-17 11:11:22 +08:00
parent 68eff9086b
commit befa093a30

View File

@ -174,8 +174,8 @@ class WechatGateway(Gateway):
"Content-Type": "application/json"
}) as resp:
ret = await resp.json()
url = ret.get("h5_url")
if url is None:
returl = ret.get("h5_url")
if returl is None:
e = Exception(f'{ret=} error')
raise e
return ret.get("h5_url")