- fixed platform vendor id error when registering.

This commit is contained in:
gazebo
2018-07-18 23:23:42 +08:00
parent cc9e1dc5d2
commit 50a4a2a940
2 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ type OrderController struct {
}
func init() {
scheduler.CurrentScheduler.RegisterPurchasePlatform(model.VendorIDELM, new(OrderController))
scheduler.CurrentScheduler.RegisterPurchasePlatform(model.VendorIDJD, new(OrderController))
}
func (c *OrderController) OnOrderMsg(msg *jdapi.CallbackOrderMsg) (retVal *jdapi.CallbackResponse) {