@@ -38,10 +38,6 @@ def __init__(self, sandbox_debug=False):
3838 self ._tiger_id = ''
3939 # 授权账户
4040 self ._account = ''
41- # 综合账户
42- self ._standard_account = ''
43- # 模拟账户
44- self ._paper_account = ''
4541 # 开发者应用私钥
4642 self ._private_key = ''
4743 # 请求签名类型,推荐RSA2
@@ -83,22 +79,6 @@ def account(self):
8379 @account .setter
8480 def account (self , value ):
8581 self ._account = value
86-
87- @property
88- def standard_account (self ):
89- return self ._standard_account
90-
91- @standard_account .setter
92- def standard_account (self , value ):
93- self ._standard_account = value
94-
95- @property
96- def paper_account (self ):
97- return self ._paper_account
98-
99- @paper_account .setter
100- def paper_account (self , value ):
101- self ._paper_account = value
10282
10383 @property
10484 def sign_type (self ):
@@ -173,16 +153,13 @@ def secret_key(self, value):
173153 self ._secret_key = value
174154
175155
176- def get_client_config (private_key_path , tiger_id , account , standard_account = None , paper_account = None ,
177- sandbox_debug = False , sign_type = None , timeout = None , language = None , charset = None ,
178- server_url = None , socket_host_port = None , secret_key = None ):
156+ def get_client_config (private_key_path , tiger_id , account , sandbox_debug = False , sign_type = None , timeout = None ,
157+ language = None , charset = None , server_url = None , socket_host_port = None , secret_key = None ):
179158 """
180159 生成客户端配置
181160 :param private_key_path: 私钥文件路径, 如 '/Users/tiger/.ssh/rsa_private_key.pem'
182161 :param tiger_id: 开发者应用 id
183162 :param account: 授权账户 (必填. 作为发送请求时的默认账户. 不论是环球账户, 综合账户或是模拟账户, 都使用此参数)
184- :param standard_account: 多账户时可将综合账户填在此处, 一般可忽略
185- :param paper_account: 多账户时可将模拟账户填在此处, 一般可忽略
186163 :param sandbox_debug: 是否请求 sandbox 环境
187164 :param sign_type: 签名类型
188165 :param timeout: 请求超时时间, 单位秒
@@ -197,10 +174,6 @@ def get_client_config(private_key_path, tiger_id, account, standard_account=None
197174 config .private_key = read_private_key (private_key_path )
198175 config .tiger_id = tiger_id
199176 config .account = account
200- if standard_account :
201- config .standard_account = standard_account
202- if paper_account :
203- config .paper_account = paper_account
204177 if sign_type :
205178 config .sign_type = sign_type
206179 if timeout :
0 commit comments