1
This commit is contained in:
@@ -31,7 +31,6 @@ func (c *WeimobController) onCallbackMsg() {
|
||||
}
|
||||
|
||||
func (c *WeimobController) Code() {
|
||||
globals.SugarLogger.Debugf("WeimobController code, code:%s, state:%s", c.GetString("code"), c.GetString("state"))
|
||||
state := c.GetString("state")
|
||||
if state == globals.WeimobStateSecret { // 防止有人故意搞坏,添加一个secret
|
||||
code := c.GetString("code")
|
||||
|
||||
Reference in New Issue
Block a user