Merge branch 'jdshop' of e.coding.net:rosydev/jx-callback into jdshop
This commit is contained in:
@@ -25,7 +25,7 @@ func SendVendorV2(data SendData) (err error) {
|
||||
if data.VendorID == model.VendorIDMTWM {
|
||||
dataStr, _ := json.Marshal(data.Data)
|
||||
temp := string(dataStr)
|
||||
fmt.Println(temp)
|
||||
globals.SugarLogger.Debugf("SendVendorV2 temp=%s", temp)
|
||||
if _, err = api.MtwmAPI.MsgSend(string(dataStr)); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
@@ -537,12 +537,11 @@ func SwitchAttr(apiObj *mtwmapi.API, vendorStoreID string, vendorCatID int64, na
|
||||
}}
|
||||
}
|
||||
}
|
||||
attrValues = append(attrValues, attrValue)
|
||||
}
|
||||
}
|
||||
attrValues = append(attrValues, attrValue)
|
||||
temp, _ := json.Marshal(attrValues)
|
||||
attrs = string(temp)
|
||||
globals.SugarLogger.Debugf("SwitchAttr attrValues=%s", utils.Format4Output(attrValues, false))
|
||||
} else {
|
||||
switch vendorCatID { //兜底处理
|
||||
case 200002727:
|
||||
|
||||
Reference in New Issue
Block a user