Browse Source

fix:申请认证

zqbao 7 tháng trước cách đây
mục cha
commit
33b613cc1b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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