浏览代码

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