1
This commit is contained in:
@@ -158,6 +158,7 @@ def _get_alipay_client(app_id: str, private_key: str, public_key: str, gateway:
|
|||||||
config.sign_type = "RSA2"
|
config.sign_type = "RSA2"
|
||||||
config.charset = "utf-8"
|
config.charset = "utf-8"
|
||||||
config.cert_path = certifi.where()
|
config.cert_path = certifi.where()
|
||||||
|
config.timeout = 30
|
||||||
os.environ["SSL_CERT_FILE"] = certifi.where()
|
os.environ["SSL_CERT_FILE"] = certifi.where()
|
||||||
os.environ["REQUESTS_CA_BUNDLE"] = certifi.where()
|
os.environ["REQUESTS_CA_BUNDLE"] = certifi.where()
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user