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 {
|
||||
|
||||
Reference in New Issue
Block a user