Browse Source

feat:增加积分中台

wangchuanjin 1 year ago
parent
commit
9780855ef0
1 changed files with 5 additions and 0 deletions
  1. 5 0
      middleground/middleground.go

+ 5 - 0
middleground/middleground.go

@@ -8,6 +8,7 @@ type Middleground struct {
 	EntManageApplication *entManageApplication
 	ActivityCenter       *activity
 	Publicservice        *publicService
+	JyPoints             *jyPoints
 }
 
 func NewMiddleground(hosts []string) *Middleground {
@@ -39,6 +40,10 @@ func (m *Middleground) RegPublicservice(key string) *Middleground {
 	m.Publicservice = newPublicservice(m.hosts, key)
 	return m
 }
+func (m *Middleground) RegJyPoints(key string) *Middleground {
+	m.JyPoints = newJyPoints(m.hosts, key)
+	return m
+}
 func main() {
 	//userId: 63d498bb6ae0e1ea2170e03d -baseUserId: 366251 -accountId: 13485 -entId: 15419 -positionType: 0 -baseUserId: 366251 -accountId: 13485 -entId: 15419 -positionType: 0 -positionId: 932
 	NewMiddleground([]string{"192.168.3.206:2379"}).RegPowerCheckCenter("powercheck.rpc")