Browse Source

验证数据导出邮箱验证码

123456 6 months ago
parent
commit
c435c88f43
1 changed files with 10 additions and 0 deletions
  1. 10 0
      lib/webapi.py

+ 10 - 0
lib/webapi.py

@@ -1164,6 +1164,16 @@ 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"
+        }
+        response = self.s.post(f"{cfg.target_host}/front/dataExport/checkMailVerify", headers = headers ,data = data)
+        return  response
+
     # 修改采购单位类型设置
     def entnichenew_buyesclass_update(self):
         headers = GSTORE['headers']