This commit is contained in:
gazebo
2018-09-23 23:35:33 +08:00
parent b936d3354b
commit 604f232e60
6 changed files with 108 additions and 28 deletions

View File

@@ -2,6 +2,7 @@ package cms
import (
"errors"
"fmt"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/business/jxcallback/scheduler/basesch"
@@ -32,7 +33,7 @@ func Init() {
} else if _, ok := v.(partner.ISingleStoreHandler); ok {
SingleStoreVendorIDs = append(SingleStoreVendorIDs, k)
} else {
panic("delivery platform type is wrong!")
panic(fmt.Sprintf("platform:%d type is wrong!", k))
}
}
}