feat: base send_sms auto_log send_mail使用False
This commit is contained in:
parent
b520b69f95
commit
3c0fa9f244
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue