|
@@ -1164,15 +1164,21 @@ class APIMgr():
|
|
|
response = self.s.post(f"{cfg.target_host}/front/dataExport/sendMailVerify",headers = headers , data = data)
|
|
|
return response
|
|
|
|
|
|
- #验证数据导出邮箱验证码
|
|
|
- def check_mailverify(self):
|
|
|
- headers = GSTORE["headers"]
|
|
|
- data = {
|
|
|
- "emailVerity" : "YQ09Z1",
|
|
|
- "email" : "luwenna@topnet.net.cn"
|
|
|
+ # 修改采购单位类型设置
|
|
|
+ def entnichenew_buyesclass_update(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ json = {
|
|
|
+ "buyer": [
|
|
|
+ "法院",
|
|
|
+ "发改"
|
|
|
+ ],
|
|
|
+ "identity": "ent"
|
|
|
}
|
|
|
- response = self.s.post(f"{cfg.target_host}/front/dataExport/checkMailVerify", headers = headers ,data = data)
|
|
|
- return response
|
|
|
+ response = self.s.post(f"{cfg.target_host}/entnicheNew/subscribe/area/get", headers=headers,json=json)
|
|
|
+ return response
|
|
|
+
|
|
|
+
|
|
|
apimgr = APIMgr()
|
|
|
|
|
|
|