diff --git a/route/invite_r/party_invite.go b/route/invite_r/party_invite.go index b5c31d1cb33383de00861137a235bc4edc64e1ce..498fbc7ce0ead9e98ff4d9c6ba1a770c2de03ee7 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 {