ey-commerce-lib 1.0.2__py3-none-any.whl → 1.0.3__py3-none-any.whl

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.

@@ -165,9 +165,9 @@ def list_order_base_by_html(html_str: str) -> list[dict]:
165
165
  logistics_info['logistics'] = logistics
166
166
  # 状态
167
167
  if has_logistics:
168
- status = order_first_element.xpath('.//td[7]/text()')[0].strip()
168
+ status = get_str_list_first_not_blank_or_none(order_first_element.xpath('.//td[7]/text()'))
169
169
  else:
170
- status = order_first_element.xpath('.//td[6]/text()')[0].strip()
170
+ status = get_str_list_first_not_blank_or_none(order_first_element.xpath('.//td[6]/text()'))
171
171
  # 整理订单
172
172
  if len(order_element_list) > 1:
173
173
  # 合并单
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ey-commerce-lib
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: eeyoung电商客户端调用封装
5
5
  Author-email: 饶奇奇 <1124393197@qq.com>
6
6
  Requires-Python: >=3.10
@@ -9,7 +9,7 @@ ey_commerce_lib/dxm/exception/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
9
9
  ey_commerce_lib/dxm/exception/common.py,sha256=DM5vItHdZCGK2Piqp2S5TFxPm3pioMzzlV-1RTxty00,159
10
10
  ey_commerce_lib/dxm/parser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  ey_commerce_lib/dxm/parser/common.py,sha256=bJcP6ZQd0hNeZpEU-8_nN_2AKB69WufKF_JKXtKYZqA,2425
12
- ey_commerce_lib/dxm/parser/order.py,sha256=5U0IQJnQnuyXV9pLUa49kJ6qiLU7g-9Mo_ltOX27VlU,16488
12
+ ey_commerce_lib/dxm/parser/order.py,sha256=5t_ie5nkmhZdDC7NBOhIkNxRYHTmlZCxs4Y6TseCp88,16542
13
13
  ey_commerce_lib/dxm/parser/purchase.py,sha256=gBHpIMPPgOZXdU6RIU_a8NogjtzPphCtcLmRauh8r-s,2206
14
14
  ey_commerce_lib/dxm/parser/warehouse.py,sha256=LfmqVixV5IcnPvr6Ma4XYoWUdXixQ16xzPP07bJrWb0,3192
15
15
  ey_commerce_lib/dxm/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -20,6 +20,6 @@ ey_commerce_lib/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
20
20
  ey_commerce_lib/utils/dxm.py,sha256=jVNltK_Pm_yMzXReD0Aw5VW6kzIZ5Bn23RucS0DKBI0,1196
21
21
  ey_commerce_lib/utils/list_util.py,sha256=R1w7B1m3sEXr38zSHWp-15C3xAs5ykYCCpvwmnRW4xs,545
22
22
  ey_commerce_lib/utils/str.py,sha256=939xE0y8U7KEWjwbEezMlaWJNBsfb2BSb-dBpYbOD8Q,138
23
- ey_commerce_lib-1.0.2.dist-info/METADATA,sha256=P7hgBKQwPN3hXBn8rErWgUVZJ3SZSHUX8GSPksiQPd0,326
24
- ey_commerce_lib-1.0.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
25
- ey_commerce_lib-1.0.2.dist-info/RECORD,,
23
+ ey_commerce_lib-1.0.3.dist-info/METADATA,sha256=eOozemj6uuIs4vM4wkUR4BV0opyqDG7enEzoO02QRl0,326
24
+ ey_commerce_lib-1.0.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
25
+ ey_commerce_lib-1.0.3.dist-info/RECORD,,