实现开服停服以及白名单功能

This commit is contained in:
flswld committed 2023-06-18 04:23:35 +08:00
1 parent a894237d41
commit d710a516c8
26 files changed
+451 -256

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ func NewController(dao *dao.Dao, discovery *rpc.DiscoveryClient, messageQueue *m
r = new(Controller)
r.dao = dao
r.discovery = discovery
r.signRsaKey, r.encRsaKeyMap, r.pwdRsaKey = region.LoadRsaKey()
r.signRsaKey, r.encRsaKeyMap, r.pwdRsaKey = region.LoadRegionRsaKey()
rsp, err := r.discovery.GetRegionEc2B(context.TODO(), &api.NullMsg{})
if err != nil {
logger.Error("get region ec2b error: %v", err)