ey-commerce-lib 1.0.5__tar.gz → 1.0.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ey-commerce-lib might be problematic. Click here for more details.
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/PKG-INFO +1 -1
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/pyproject.toml +1 -1
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/main.py +1 -1
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/parser/order.py +2 -2
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/.gitignore +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/.python-version +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/README.md +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/pytest.ini +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/__init__.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/__init__.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/constant/__init__.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/constant/order.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/exception/__init__.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/exception/common.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/order.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/parser/__init__.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/parser/common.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/parser/purchase.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/parser/warehouse.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/schemas/__init__.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/schemas/common.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/schemas/order.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/schemas/warehouse.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/py.typed +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/utils/__init__.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/utils/dxm.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/utils/list_util.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/utils/str.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/tests/__init__.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/tests/dxm/__init__.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/tests/dxm/test_purchase.py +0 -0
- {ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/uv.lock +0 -0
|
@@ -522,7 +522,7 @@ class DxmClient:
|
|
|
522
522
|
validate_price_res = await self.__async_client.post("/dxmPurchasingNote/validatePrice.json", data={
|
|
523
523
|
'ids': ids
|
|
524
524
|
})
|
|
525
|
-
return validate_price_res
|
|
525
|
+
return validate_price_res.json()
|
|
526
526
|
|
|
527
527
|
async def wait_pay_pay_money(self, purchase_id: str):
|
|
528
528
|
"""
|
|
@@ -16,10 +16,10 @@ def get_single_order_item_list(order_element: html.HtmlElement):
|
|
|
16
16
|
for sku_element in sku_element_list:
|
|
17
17
|
sku = sku_element.xpath('.//a[contains(@class, "pairProInfoSku")]/text()')[0]
|
|
18
18
|
img = get_str_list_first_not_blank_or_none(sku_element.xpath('.//img/@data-original'))
|
|
19
|
-
quantity = sku_element.xpath('.//
|
|
19
|
+
quantity = sku_element.xpath('.//span[@class="limingcentUrlpicson"]/following-sibling::span[1]/text()')[0]
|
|
20
20
|
# 价格
|
|
21
21
|
currency, price = \
|
|
22
|
-
sku_element.xpath('.//
|
|
22
|
+
sku_element.xpath('.//span[@class="limingcentUrlpicson"]/parent::*/following-sibling::p[1]/text()')[
|
|
23
23
|
0].split(' ')
|
|
24
24
|
# 变种
|
|
25
25
|
variants = sku_element.xpath(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/constant/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/exception/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ey_commerce_lib-1.0.5 → ey_commerce_lib-1.0.6}/src/ey_commerce_lib/dxm/schemas/warehouse.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|