From 09439313b26de391d610034bac5e7290bd8ec475 Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Mon, 28 Aug 2023 18:29:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=A4=E7=BB=84=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- route/invite_r/party_invite.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/route/invite_r/party_invite.go b/route/invite_r/party_invite.go index 30810b2..3374222 100644 --- a/route/invite_r/party_invite.go +++ b/route/invite_r/party_invite.go @@ -85,9 +85,9 @@ func InviteApply(c *gin.Context) (*mycontext.MyContext, error) { model.Log.Errorf("InviteApply param:%v", param) return myCtx, bizerr.InviteApplyCodeInvalid } - if user.ID != myUserId { //只能自己提交 - return myCtx, bizerr.InvalidParameter - } + //if user.ID != myUserId { //只能自己提交 + // return myCtx, bizerr.InvalidParameter + //} if newUser.ID == 0 || user.ID == 0 { model.Log.Errorf("InviteApply param:%v", param) return myCtx, bizerr.InvalidParameter -- 2.22.0