删除测试代码
This commit is contained in:
parent
f0f2831ba0
commit
e32cd1a6bd
|
@ -341,21 +341,6 @@ func platformConfigEvent(ctx context.Context, completeKey string, isInit bool, e
|
||||||
default:
|
default:
|
||||||
logger.Logger.Errorf("etcd completeKey:%s, Not processed", completeKey)
|
logger.Logger.Errorf("etcd completeKey:%s, Not processed", completeKey)
|
||||||
}
|
}
|
||||||
PlatformMgrSingleton.GetConfig("1").ClientUpgrade = &webapi.ClientUpgrade{
|
|
||||||
Platform: "1",
|
|
||||||
On: 1,
|
|
||||||
OnForce: 0,
|
|
||||||
Reward: []*webapi.ItemInfo{
|
|
||||||
{
|
|
||||||
ItemId: 100001,
|
|
||||||
ItemNum: 100,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
ItemId: 100002,
|
|
||||||
ItemNum: 100,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func handlerEvent(ctx context.Context, completeKey string, isInit bool, event *clientv3.Event, data interface{}) {
|
func handlerEvent(ctx context.Context, completeKey string, isInit bool, event *clientv3.Event, data interface{}) {
|
||||||
|
|
Loading…
Reference in New Issue