This commit is contained in:
gazebo
2018-11-13 12:38:24 +08:00
parent 6cdeb33ff8
commit acbf6052d3
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,6 @@ import (
"net/http"
"git.rosy.net.cn/baseapi/platformapi/jdapi"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/business/jxstore/promotion"
"git.rosy.net.cn/jx-callback/business/partner/purchase/jd"
"git.rosy.net.cn/jx-callback/globals"
@@ -105,7 +104,7 @@ func (c *DjswController) StockIsHave() {
if c.Ctx.Input.Method() == http.MethodPost {
obj, callbackResponse := api.JdAPI.GetStoreStockCallbackMsg(c.Ctx.Input.RequestBody)
if callbackResponse == nil {
globals.SugarLogger.Debugf("StockIsHave, obj:%s", utils.Format4Output(obj, false))
// globals.SugarLogger.Debugf("StockIsHave, obj:%s", utils.Format4Output(obj, false))
callbackResponse = promotion.OnStoreStockMsg(obj)
}
c.Data["json"] = callbackResponse