修复误把domain替换为subdomain的问题

This commit is contained in:
shmilylty
2019-08-18 02:12:12 +08:00
parent 3883a14365
commit 7ccddb93f7
5 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ class Entrust(Query):
time.sleep(self.delay)
self.header = self.get_header()
self.proxy = self.get_proxy(self.source)
params = {'fields': 'subjectDN', 'subdomain': self.domain,
params = {'fields': 'subjectDN',
'domain': self.domain,
'includeExpired': 'true'}
resp = self.get(self.addr, params)
if not resp: