From bcb4e04200a9cec1438bd94d753e1a09f8948e4d Mon Sep 17 00:00:00 2001 From: jiangweidong Date: Thu, 25 May 2023 10:17:29 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=BF=BD=E7=95=A5=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E7=9F=AD=E4=BF=A1=E8=AE=A4=E8=AF=81=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E8=AF=81=E4=B9=A6=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/common/sdk/sms/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/sdk/sms/custom.py b/apps/common/sdk/sms/custom.py index 6eb0748ed..64f9a0246 100644 --- a/apps/common/sdk/sms/custom.py +++ b/apps/common/sdk/sms/custom.py @@ -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: