ey-commerce-lib 1.0.4__py3-none-any.whl → 1.0.5__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.

@@ -515,7 +515,7 @@ class DxmClient:
515
515
 
516
516
  async def validate_price(self, ids: str):
517
517
  """
518
- 采购单提交审核
518
+ 采购校验价格
519
519
  :param ids: purchase_id 多个,分隔
520
520
  :return:
521
521
  """
@@ -537,6 +537,18 @@ class DxmClient:
537
537
  })
538
538
  return wait_pay_pay_money_res.json()
539
539
 
540
+ async def submit_audit(self, purchase_id: str):
541
+ """
542
+ 提交审核
543
+ :param purchase_id:
544
+ :return:
545
+ """
546
+ async with self.__sem:
547
+ submit_audit_res = await self.__async_client.post("/dxmPurchasingNote/submitAudit.json", data={
548
+ 'id': purchase_id
549
+ })
550
+ return submit_audit_res.json()
551
+
540
552
  async def __aenter__(self):
541
553
  return self
542
554
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ey-commerce-lib
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary: eeyoung电商客户端调用封装
5
5
  Author-email: 饶奇奇 <1124393197@qq.com>
6
6
  Requires-Python: >=3.10
@@ -1,7 +1,7 @@
1
1
  ey_commerce_lib/__init__.py,sha256=QTYqXqSTHFRkM9TEgpDFcHvwLbvqHDqvqfQ9EiXkcAM,23
2
2
  ey_commerce_lib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  ey_commerce_lib/dxm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- ey_commerce_lib/dxm/main.py,sha256=Yl0Q80Z2_ltaw0iZdOFqfjQsu2qz-0p1EcgZN-qojGE,20643
4
+ ey_commerce_lib/dxm/main.py,sha256=MZVOl-3M2fUj-_Rcwh6Rar30Wf1qX20stnRYo6H2P2w,21026
5
5
  ey_commerce_lib/dxm/order.py,sha256=hMdNm9X5h9tbvMWFnyE5hcSF4butzn7m-akGqLQUD0k,35
6
6
  ey_commerce_lib/dxm/constant/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  ey_commerce_lib/dxm/constant/order.py,sha256=U-2NYnkIcqukzMtOFpfqvzIktu_t7jYEms_n9LgKMlY,2213
@@ -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.4.dist-info/METADATA,sha256=uuGimYTuGtxcBuG3p6kgBd7bSs8LcWfCCY6LhzeEE-U,326
24
- ey_commerce_lib-1.0.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
25
- ey_commerce_lib-1.0.4.dist-info/RECORD,,
23
+ ey_commerce_lib-1.0.5.dist-info/METADATA,sha256=efMnG-13V7ehNQxXj4MitQE7Az6cI32-_gOBIT3CNHw,326
24
+ ey_commerce_lib-1.0.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
25
+ ey_commerce_lib-1.0.5.dist-info/RECORD,,