From 5142b639aeb7ef0e892503d3d2094c2334ef5a0f Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Tue, 11 Jul 2023 16:52:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BE=E5=AF=B9=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- route/invite_r/party_invite.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/route/invite_r/party_invite.go b/route/invite_r/party_invite.go index b5c31d1..498fbc7 100644 --- a/route/invite_r/party_invite.go +++ b/route/invite_r/party_invite.go @@ -81,10 +81,10 @@ func InviteApply(c *gin.Context) (*mycontext.MyContext, error) { model.Log.Errorf("InviteApply 没有邀请资格 param:%v", param) return myCtx, bizerr.InviteApplyNoPermission } - if user.ID != myUserId && !promotion_m.IsMyPromotionManager(model, user.ID, myUserId) { - model.Log.Errorf("InviteApply 没有邀请资格 param:%v", param) - return myCtx, bizerr.InviteApplyNoPermission - } + //if user.ID != myUserId && !promotion_m.IsMyPromotionManager(model, user.ID, myUserId) { + // model.Log.Errorf("InviteApply 没有邀请资格 param:%v", param) + // return myCtx, bizerr.InviteApplyNoPermission + //} // 被邀请人是否已经被人提交过申请 isApply, err := invite_m.IsInInviteApply(model, newUser.ID) if err != nil { -- 2.22.0