fix: 修复华为短信配置错误,前端提示不对的问题

pull/8851/head
jiangweidong 2 years ago committed by Jiangjie.Bai
parent 697270e3e6
commit fa54a98d6c

@ -86,7 +86,7 @@ class HuaweiSMS(BaseSMSClient):
except Exception as error:
raise JMSException(code='response_bad', detail=error)
if resp_msg.get('code' != '000000'):
if resp_msg.get('code') != '000000':
raise JMSException(code='response_bad', detail=resp_msg)
return resp_msg

Loading…
Cancel
Save