This commit is contained in:
邹宗楠
2022-12-05 17:10:30 +08:00
parent 5f3152a95b
commit 0858152b8b
3 changed files with 2 additions and 3 deletions

View File

@@ -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) {

View File

@@ -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]

View File

@@ -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)