数数虚拟维度表导入脚本
This commit is contained in:
parent
ba38245145
commit
eed5c910cf
@ -31,7 +31,7 @@ class SS_Virtual_command:
|
||||
body = {"projectId": projectId, "createParam": createParam, "loginName": loginName, "password": password}
|
||||
quote_body = my_quote(body)
|
||||
|
||||
cmd = f"curl --header 'Accept: application/json' --form 'file=@{filename}' {self.ss_virtual_url}?{quote_body}"
|
||||
cmd = f"curl --header 'Accept: application/json' --form 'file=@{filename}' '{self.ss_virtual_url}?{quote_body}'"
|
||||
print(cmd)
|
||||
cmdref = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
|
||||
output, error_info = cmdref.communicate()
|
||||
|
Loading…
x
Reference in New Issue
Block a user