perf: 忽略自定义短信认证请求证书校验

pull/10552/head
jiangweidong 2 years ago committed by Jiangjie.Bai
parent 848ea0cf3c
commit bcb4e04200

@ -38,7 +38,7 @@ class CustomSMS(BaseSMSClient):
action = requests.get
kwargs = {'params': params}
try:
response = action(url=settings.CUSTOM_SMS_URL, **kwargs)
response = action(url=settings.CUSTOM_SMS_URL, verify=False, **kwargs)
if response.reason != 'OK':
raise JMSException(detail=response.text, code=response.status_code)
except Exception as exc:

Loading…
Cancel
Save