浏览代码

Merge branch 'dev/v1.1.20_fuwencai' of BaseService/jyMicroservices into feature/v1.1.20

wangshan 2 年之前
父节点
当前提交
f0be57f923
共有 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 = MC.If(entRoleId == 1, entRoleId, int64(-1)).(int64)
 				res.Data = info
 			} else {
 				res.ErrCode = -1