瀏覽代碼

token检测

kobe6258 3 月之前
父節點
當前提交
f2d8c2718a
共有 1 個文件被更改,包括 1 次插入0 次删除
  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