소스 검색

feat:默认值

wangshan 2 년 전
부모
커밋
8d23458d1e
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      jyBXCore/rpc/service/participate.go

+ 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