|
|
@@ -19,7 +19,7 @@ import requests
|
|
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------
|
|
|
# url = "http://127.0.0.1:8001/api/store/contracts/400"
|
|
|
-# url = "http://120.26.186.130:33333/api/store/contracts/420?status=1"
|
|
|
+# url = "http://120.26.186.130:33333/api/store/contracts/420?status=0"
|
|
|
# """
|
|
|
# 商家点击合同管理模块时,可以条件筛选查询 未签署合同和已签署合同
|
|
|
# status:签署状态 0 未签署 1 已签署
|
|
|
@@ -31,7 +31,7 @@ import requests
|
|
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------
|
|
|
# url = "http://127.0.0.1:8001/api/store/contracts/detail/c658fe83ce404934971d6912aaa315e0"
|
|
|
-# url = "http://120.26.186.130:33333/api/store/contracts/detail/"
|
|
|
+# url = "http://120.26.186.130:33333/api/store/contracts/detail/030e3e0a1d094399adc0c5e98c7ad2fd"
|
|
|
# """
|
|
|
# 商家点击到某个具体的合同 向这个接口发送请求
|
|
|
# 由于e签宝提供的合同模板URL会过期,所以会再次携带flow_id 向e签宝发起请求刷新新的URL
|
|
|
@@ -58,17 +58,17 @@ import requests
|
|
|
|
|
|
#-----------------------------------------------------------------------------------------------------------------------
|
|
|
# url = "http://127.0.0.1:8001/api/store/get_all_templates"
|
|
|
-# url = "http://120.26.186.130:33333/api/store/get_all_templates"
|
|
|
-# params = {
|
|
|
-# "page": 1, # 页码 默认1
|
|
|
-# "page_size": 10, # 每页条数 默认10
|
|
|
-# "store": "", # 店铺名称(模糊查询)
|
|
|
-# "merchant_name": "", # 商家名称(模糊查询)
|
|
|
-# "signing_status": "", # 签署状态
|
|
|
-# "business_segment": "", # 经营板块
|
|
|
-# "store_status": "", # 店铺状态:正常/禁用
|
|
|
-# "expiry_start": "", # 到期时间起
|
|
|
-# "expiry_end": "" # 到期时间止
|
|
|
-# }
|
|
|
-# resp = requests.get(url)
|
|
|
-# print(resp.text)
|
|
|
+url = "http://120.26.186.130:33333/api/store/get_all_templates"
|
|
|
+params = {
|
|
|
+ "page": 1, # 页码 默认1
|
|
|
+ "page_size": 10, # 每页条数 默认10
|
|
|
+ "store": "", # 店铺名称(模糊查询)
|
|
|
+ "merchant_name": "", # 商家名称(模糊查询)
|
|
|
+ "signing_status": "", # 签署状态
|
|
|
+ "business_segment": "", # 经营板块
|
|
|
+ "store_status": "", # 店铺状态:正常/禁用
|
|
|
+ "expiry_start": "", # 到期时间起
|
|
|
+ "expiry_end": "" # 到期时间止
|
|
|
+}
|
|
|
+resp = requests.get(url)
|
|
|
+print(resp.text)
|