From 323e8e72cc8de0c7bf2cf58360c41c17be9cbd87 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Thu, 30 Jun 2022 18:42:30 +0800 Subject: [PATCH] compose file update --- config/config.yaml | 2 +- internal/demo/register/send_code.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.yaml b/config/config.yaml index 764d891c8..bd7a2039b 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -694,7 +694,7 @@ demo: accessKeySecret: 4n9OJ7ZCVN1U6KeHDAtOyNeVZcjOuV signName: 托云信息技术 verificationCodeTemplateCode: SMS_226810164 - enable: true + enable: false tencentsms: #腾讯云短信配置,在腾讯云申请成功后,修改以下选项,enable为true则必须修改 appID: 2400000648 region: "ap-singapore" diff --git a/internal/demo/register/send_code.go b/internal/demo/register/send_code.go index d6fd6b312..b895141ba 100644 --- a/internal/demo/register/send_code.go +++ b/internal/demo/register/send_code.go @@ -118,7 +118,7 @@ func SendVerificationCode(c *gin.Context) { return } } - + log.Debug(params.OperationID, "send sms success", code, accountKey) data := make(map[string]interface{}) data["account"] = account c.JSON(http.StatusOK, gin.H{"errCode": constant.NoError, "errMsg": "Verification code has been set!", "data": data})