- bug fix for many sync operation.

This commit is contained in:
gazebo
2018-10-18 17:13:43 +08:00
parent 0db0dd4ca1
commit 294786cb4b
15 changed files with 169 additions and 129 deletions

View File

@@ -4,7 +4,6 @@ import (
"git.rosy.net.cn/baseapi/platformapi/ebaiapi"
"git.rosy.net.cn/jx-callback/business/jxcallback/scheduler"
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/globals/api"
)
var (
@@ -16,10 +15,8 @@ type PurchaseHandler struct {
}
func init() {
if api.EbaiAPI != nil {
curPurchaseHandler = new(PurchaseHandler)
scheduler.CurrentScheduler.RegisterPurchasePlatform(curPurchaseHandler)
}
curPurchaseHandler = new(PurchaseHandler)
scheduler.CurrentScheduler.RegisterPurchasePlatform(curPurchaseHandler)
}
func EbaiBusStatus2JxStatus(ebaiStatus int) int {