浏览代码

fix:调整

duxin 3 月之前
父节点
当前提交
cd9d2a1bee
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      internal/jyutil/user.go

+ 3 - 0
internal/jyutil/user.go

@@ -37,6 +37,9 @@ func init() {
 	SaleChangeReason = g.Cfg().MustGet(context.Background(), "saleChangeReason").Strings()
 	SupAdmin = g.Cfg().MustGet(context.Background(), "userRightsGroup.supAdmin").Int64s()
 	PinTube = g.Cfg().MustGet(context.Background(), "userRightsGroup.pinTube").Int64s()
+	CSId = g.Cfg().MustGet(context.Background(), "userRightsGroup.cSId").Int64s()
+	Administration = g.Cfg().MustGet(context.Background(), "userRightsGroup.administration").Int64s()
+	Finance = g.Cfg().MustGet(context.Background(), "userRightsGroup.finance").Int64s()
 }
 
 // GetCreateUserData 查询用户 不存在注册用户 isEntSign 是否需要注册企业信息(避免校验调用) 如entId不为0代办已注册企业信息