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)