开放后台。。。。请勿拉取更新

This commit is contained in:
ZJY 2021-09-01 21:41:57 +08:00
parent a17cf1edd7
commit fb26551c57

View File

@ -10,6 +10,7 @@ import (
zh_translations "gopkg.in/go-playground/validator.v9/translations/zh"
"net/http"
"strconv"
"strings"
)
var validate *validator.Validate
@ -115,12 +116,9 @@ func (c *BaseController) Logined() *BaseController {
c.StopRun()
} else {
c.PtPin = v.(string)
if "764763903" == c.PtPin {
if strings.Contains(models.Config.Master, v.(string)) {
c.Master = true
}
//if strings.Contains(models.Config.Master, v.(string)) {
// c.Master = true
//}
}
return c
}