aa
This commit is contained in:
@@ -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, "")
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user