From 0858152b8b425753184819268760d82e4dac31c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 5 Dec 2022 17:10:30 +0800 Subject: [PATCH] 1 --- controllers/app/print_edition.go | 2 +- controllers/app/print_notice.go | 2 +- services/print_server/app_server/verify_code.go | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/controllers/app/print_edition.go b/controllers/app/print_edition.go index 68c547a..4a3c6bc 100644 --- a/controllers/app/print_edition.go +++ b/controllers/app/print_edition.go @@ -115,7 +115,7 @@ func (p *PrintEdition) SelectEditionAddress(c *gin.Context) { server = app_server.PrintEditionServer ) //if tokenInfo = controllers.CheckToken(c); tokenInfo == nil { - // return + // returnselectEditionAddress //} controllers.CallFunc(c, func() (retVal interface{}, errCode string, err error) { diff --git a/controllers/app/print_notice.go b/controllers/app/print_notice.go index 7365bf2..2a4997f 100644 --- a/controllers/app/print_notice.go +++ b/controllers/app/print_notice.go @@ -106,7 +106,7 @@ func (p *PrintNotice) DeleteNoticeAddress(c *gin.Context) { // @Title 查询广告和通知消息 // @Description 查询广告和通知消息 // @Param token cookie string true "用户登录token" -// @Param data body app_model.DeletePrintNotice true "请求参数" +// @Param data body app_model.QueryPrintNotice true "请求参数" // @Success 200 {object} controllers.CallResult // @Failure 200 {object} controllers.CallResult // @router /selectNoticeAddress [post] diff --git a/services/print_server/app_server/verify_code.go b/services/print_server/app_server/verify_code.go index 4e21a98..d90c271 100644 --- a/services/print_server/app_server/verify_code.go +++ b/services/print_server/app_server/verify_code.go @@ -44,7 +44,6 @@ func (s *SendVerifyCode) SendCode(mobile string) (string, error) { // VerifySecret 检查验证码 func (s *SendVerifyCode) VerifySecret(mobile, bizId, code string) (bool, error) { - return true, nil result := putils.GetKey(bizId + "_" + mobile) fmt.Println(utils.IsNil(result)) fmt.Println(result)