duxin 2 bulan lalu
induk
melakukan
cd9d2a1bee
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  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代办已注册企业信息