- 禁用jxcontext中的一个较没有用的调试输出
This commit is contained in:
@@ -57,7 +57,7 @@ func New(notUsed interface{}, token string, w http.ResponseWriter, r *http.Reque
|
||||
authInfo, err2 := auth2.GetTokenInfo(token)
|
||||
if err = err2; err == nil {
|
||||
ctx.userInfo = authInfo
|
||||
globals.SugarLogger.Debugf("jxcontext New, V2 authInfo:%s", utils.Format4Output(authInfo, false))
|
||||
// globals.SugarLogger.Debugf("jxcontext New, V2 authInfo:%s", utils.Format4Output(authInfo, false))
|
||||
if authInfo.TokenType != auth2.TokenTypeNormal {
|
||||
err = errors.New("需要正式TOKEN")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user