This commit is contained in:
苏尹岚
2021-03-18 11:24:34 +08:00
parent 7bb3c81f00
commit 0f21a0df0b
3 changed files with 1 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ func init() {
}
func (s *StoreManager) OnStoreStatusChanged(vendorStoreID string, vendorID int, storeStatus int) (err error) {
return err
// return err
globals.SugarLogger.Debugf("OnStoreStatusChanged venvendorStoreID:%s, storeStatus:%d", vendorStoreID, storeStatus)
db := dao.GetDB()
storeDetail, err := dao.GetStoreDetailByVendorStoreID(db, vendorStoreID, vendorID, "")

View File

@@ -303,7 +303,6 @@ func (p *PurchaseHandler) RefreshAllStoresID(ctx *jxcontext.Context, parentTask
func (p *PurchaseHandler) onStoreStatusChanged(msg *mtwmapi.CallbackMsg) (response *mtwmapi.CallbackResponse) {
var err error
globals.SugarLogger.Debugf("mtwm onStoreStatusChanged: ", utils.Format4Output(msg, false))
vendorStoreID := msg.FormData.Get("app_poi_code")
storeStatus := 0
if msg.Cmd == mtwmapi.MsgTypeStoreStatusChanged {

View File

@@ -3,7 +3,6 @@ package controllers
import (
"git.rosy.net.cn/baseapi/platformapi/mtwmapi"
"git.rosy.net.cn/jx-callback/business/partner/purchase/mtwm"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
)
@@ -70,7 +69,6 @@ func (c *MtwmController) OrderPartialRefund() {
}
func (c *MtwmController) StoreStatusChanged() {
globals.SugarLogger.Debugf("mtwm StoreStatusChanged test", "1")
c.onCallbackMsg(mtwmapi.MsgTypeStoreStatusChanged)
}