feat: base send_sms auto_log send_mail使用False

This commit is contained in:
caoqianming 2025-09-23 16:26:07 +08:00
parent b520b69f95
commit 3c0fa9f244
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ from rest_framework.exceptions import ParseError
myLogger = logging.getLogger('log')
@auto_log(name='阿里云短信', raise_exception=True, send_mail=True)
@auto_log(name='阿里云短信', raise_exception=True, send_mail=False)
def send_sms(phone: str, template_code: int, template_param: dict):
from aliyunsdkcore.client import AcsClient
from aliyunsdkcore.request import CommonRequest