This commit is contained in:
邹宗楠
2023-11-20 15:36:44 +08:00
parent f62c9bb143
commit 2b401bc0b5
2 changed files with 1 additions and 3 deletions

View File

@@ -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) {

View File

@@ -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),