소스 검색

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