Browse Source

token检测

kobe6258 3 months ago
parent
commit
f2d8c2718a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controllers/user.go

+ 1 - 0
controllers/user.go

@@ -718,6 +718,7 @@ func (this *UserController) Optional() {
 		this.Data["json"] = br
 		this.ServeJSON()
 	}()
+	br.Ret = 200
 	br.Msg = "用户token校验成功"
 	br.Success = true
 	return