Browse Source

feat:参标设置权限调整

wangshan 2 years ago
parent
commit
59a814d174
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jyBXCore/rpc/service/participate.go

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

@@ -156,7 +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)
-	if !b {
+	if !b || entRoleId == 0 {
 		res.ErrMsg = "没有权限"
 		res.Data = nil
 		res.ErrCode = -1