1
This commit is contained in:
@@ -115,7 +115,7 @@ func (p *PrintEdition) SelectEditionAddress(c *gin.Context) {
|
|||||||
server = app_server.PrintEditionServer
|
server = app_server.PrintEditionServer
|
||||||
)
|
)
|
||||||
//if tokenInfo = controllers.CheckToken(c); tokenInfo == nil {
|
//if tokenInfo = controllers.CheckToken(c); tokenInfo == nil {
|
||||||
// return
|
// returnselectEditionAddress
|
||||||
//}
|
//}
|
||||||
|
|
||||||
controllers.CallFunc(c, func() (retVal interface{}, errCode string, err error) {
|
controllers.CallFunc(c, func() (retVal interface{}, errCode string, err error) {
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ func (p *PrintNotice) DeleteNoticeAddress(c *gin.Context) {
|
|||||||
// @Title 查询广告和通知消息
|
// @Title 查询广告和通知消息
|
||||||
// @Description 查询广告和通知消息
|
// @Description 查询广告和通知消息
|
||||||
// @Param token cookie string true "用户登录token"
|
// @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
|
// @Success 200 {object} controllers.CallResult
|
||||||
// @Failure 200 {object} controllers.CallResult
|
// @Failure 200 {object} controllers.CallResult
|
||||||
// @router /selectNoticeAddress [post]
|
// @router /selectNoticeAddress [post]
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ func (s *SendVerifyCode) SendCode(mobile string) (string, error) {
|
|||||||
|
|
||||||
// VerifySecret 检查验证码
|
// VerifySecret 检查验证码
|
||||||
func (s *SendVerifyCode) VerifySecret(mobile, bizId, code string) (bool, error) {
|
func (s *SendVerifyCode) VerifySecret(mobile, bizId, code string) (bool, error) {
|
||||||
return true, nil
|
|
||||||
result := putils.GetKey(bizId + "_" + mobile)
|
result := putils.GetKey(bizId + "_" + mobile)
|
||||||
fmt.Println(utils.IsNil(result))
|
fmt.Println(utils.IsNil(result))
|
||||||
fmt.Println(result)
|
fmt.Println(result)
|
||||||
|
|||||||
Reference in New Issue
Block a user