- prevent modify promotion store sku. lack callback handler

This commit is contained in:
gazebo
2018-11-06 14:36:21 +08:00
parent d48b867dae
commit ae267dcdbe
6 changed files with 172 additions and 16 deletions

View File

@@ -7,6 +7,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxcallback/orderman"
"git.rosy.net.cn/jx-callback/business/jxstore/cms"
"git.rosy.net.cn/jx-callback/business/jxstore/promotion"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"git.rosy.net.cn/jx-callback/globals/beegodb"
@@ -29,6 +30,9 @@ func Init() {
beegodb.Init()
api.Init()
cms.InitServiceInfo(Version, BuildDate, GitCommit)
if globals.EnableStore {
promotion.Init()
}
}
// 返回true表示非运行服务