From 8c43b0953b663c1c8f143c6f969a4f5897ee2e2a Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Fri, 11 Feb 2022 16:36:02 +0800 Subject: [PATCH] demo modify --- internal/demo/register/set_password.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/demo/register/set_password.go b/internal/demo/register/set_password.go index b65b0c943..c8509a8bb 100644 --- a/internal/demo/register/set_password.go +++ b/internal/demo/register/set_password.go @@ -40,7 +40,7 @@ func SetPassword(c *gin.Context) { if params.VerificationCode != config.Config.Demo.SuperCode { v, err := redis.String(db.DB.Exec("GET", account)) if err != nil || v != params.VerificationCode { - log.InfoByKv("password Verification code error", account, params.VerificationCode) + log.NewError(params.OperationID, "password Verification code error", account, params.VerificationCode) data := make(map[string]interface{}) data["PhoneNumber"] = account c.JSON(http.StatusOK, gin.H{"errCode": constant.CodeInvalidOrExpired, "errMsg": "Verification code error!", "data": data})