提交跟新

This commit is contained in:
super
2026-04-28 17:16:04 +08:00
parent 8711b205cf
commit 9c16c9c589
2 changed files with 6 additions and 4 deletions

View File

@@ -789,7 +789,8 @@ class AmzonePriceMatch(AmamzonBase):
"secondPlace": price_2, "secondPlace": price_2,
"cartShopName" : cartShopName, "cartShopName" : cartShopName,
"shippingFee" : f"{shipping_fee}", "shippingFee" : f"{shipping_fee}",
"priceChangeStatus" : "改价成功", "priceChangeStatus" : f"{adjust_prices}",
"modifyCount" : "1",
}) })
else: else:
recommendedPrice = recommend_price + shipping_fee recommendedPrice = recommend_price + shipping_fee
@@ -807,7 +808,8 @@ class AmzonePriceMatch(AmamzonBase):
"secondPlace": price_2, "secondPlace": price_2,
"cartShopName": cartShopName, "cartShopName": cartShopName,
"shippingFee": f"{shipping_fee}", "shippingFee": f"{shipping_fee}",
"priceChangeStatus": "跳过,无需改价", "priceChangeStatus": "",
"modifyCount": "0",
}) })
already_asin.add(asin) already_asin.add(asin)
@@ -1347,10 +1349,10 @@ class PriceTask:
"firstPlace": status.get("firstPlace") if status.get("firstPlace") else "", "firstPlace": status.get("firstPlace") if status.get("firstPlace") else "",
"secondPlace": status.get("secondPlace") if status.get("secondPlace") else "", "secondPlace": status.get("secondPlace") if status.get("secondPlace") else "",
"cartShopName": status.get("cartShopName") if status.get("cartShopName") else "", "cartShopName": status.get("cartShopName") if status.get("cartShopName") else "",
"priceChangeStatus": "UPDATED", "priceChangeStatus": status.get("priceChangeStatus") if status.get("priceChangeStatus") else "",
"deleteSkipAsin": status.get("deleteSkipAsin", False), "deleteSkipAsin": status.get("deleteSkipAsin", False),
"removeAsin": status.get("removeAsin") if status.get("removeAsin") else "", "removeAsin": status.get("removeAsin") if status.get("removeAsin") else "",
# "modifyCount": "2", "modifyCount": status.get("modifyCount") if status.get("modifyCount") else "",
"shippingFee": status.get("shippingFee") if status.get("shippingFee") else "", "shippingFee": status.get("shippingFee") if status.get("shippingFee") else "",
"status": status.get("statu") "status": status.get("statu")
} }