1
This commit is contained in:
@@ -17,7 +17,7 @@ func OnCallbackMsg(orderStatus, orderId string, msg interface{}) (response *tao_
|
||||
response = CurPurchaseHandler.onOrderMsg(orderStatus, orderId, msg)
|
||||
}, jxutils.ComposeUniversalOrderID(orderId, model.VendorIDTaoVegetable))
|
||||
}
|
||||
return tao_vegetable.CallBackResultInfo(nil)
|
||||
return response
|
||||
}
|
||||
|
||||
func forwardOrderToGy(msg *mtwmapi.CallbackMsg, orderStatus string) {
|
||||
|
||||
@@ -279,9 +279,7 @@ func createTaoVegetable(ctx *jxcontext.Context, api *tao_vegetable.API, storeSku
|
||||
vendorSkuIdMap := make(map[string]string, 0)
|
||||
|
||||
for _, storeSku := range storeSkuList {
|
||||
globals.SugarLogger.Debugf("==============storeSku := %s", utils.Format4Output(storeSku, false))
|
||||
price := utils.String2Pointer(utils.Float64ToStr(utils.Int64ToFloat64(storeSku.VendorPrice) / utils.Int64ToFloat64(100)))
|
||||
globals.SugarLogger.Debugf("==============price := %s", utils.Format4Output(price, false))
|
||||
sku := domain585.AlibabaWdkSkuAddSkuDo{
|
||||
Barcodes: utils.String2Pointer(utils.Int2Str(storeSku.SkuID)),
|
||||
BrandName: utils.String2Pointer(tao_vegetable.CreateSkuBrandName),
|
||||
|
||||
Reference in New Issue
Block a user