wangshan 2 жил өмнө
parent
commit
8d23458d1e

+ 1 - 2
jyBXCore/rpc/service/participate.go

@@ -156,8 +156,7 @@ func GetParticipateSetInfo(in *bxcore.ParticipateSetUpInfoReq) (*bxcore.Particip
 		RemindRule: nil,
 	}}
 	b, entRoleId := util.IsAllowedParticipate(in.AppId, in.UserId, in.NewUserId, in.AccountId, in.EntAccountId, in.EntId, in.EntUserId, in.PositionId, in.PositionType)
-	entRoleId = 1
-	if false && !b {
+	if !b {
 		res.ErrMsg = "没有权限"
 		res.Data = nil
 		res.ErrCode = -1