소스 검색

feat:调整

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

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

@@ -179,7 +179,7 @@ func GetParticipateSetInfo(in *bxcore.ParticipateSetUpInfoReq) (*bxcore.Particip
 			//查询对应用户设置信息
 			//未设置过 返回默认配置
 			if info, err := mysql.GetParticipateSetInfo(in); err == nil {
-				info.IsShow = int64(MC.If(entRoleId == 1, entRoleId, -1).(int))
+				info.IsShow = int64(MC.IntAll(MC.If(entRoleId == 1, entRoleId, -1)))
 				res.Data = info
 			} else {
 				res.ErrCode = -1