소스 검색

fix:申请认证

zqbao 7 달 전
부모
커밋
33b613cc1b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      controllers/user.go

+ 2 - 0
controllers/user.go

@@ -1059,7 +1059,9 @@ func (this *UserAuthController) ApplyPermission() {
 	user := this.User
 
 	if user.ApplyStatus == 1 {
+		br.Ret = 200
 		br.Msg = "您已提交过认证申请,请等待!"
+		br.Success = true
 		return
 	}
 	user.ApplyStatus = 1