From 33d8a055940ff66bec57ab857ed8ae2638e8b6b1 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期二, 10 十二月 2024 14:42:26 +0800
Subject: [PATCH] 修改重新支付逻辑,增加因为账户没钱造成的支付失败后重新支付

---
 cylsg/EzTencentCloud/TencentCloudService.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cylsg/EzTencentCloud/TencentCloudService.cs b/cylsg/EzTencentCloud/TencentCloudService.cs
index ceafd97..a276174 100644
--- a/cylsg/EzTencentCloud/TencentCloudService.cs
+++ b/cylsg/EzTencentCloud/TencentCloudService.cs
@@ -138,7 +138,7 @@
                 httpProfile.Endpoint = ("ocr.tencentcloudapi.com");
                 clientProfile.HttpProfile = httpProfile;
 
-                var _ocrClient = new OcrClient(cred, "ap-chengdu", clientProfile);
+                var _ocrClient = new OcrClient(cred, "ap-shanghai", clientProfile);
           
                 var ret = _ocrClient.BizLicenseOCRSync(new BizLicenseOCRRequest()
                 {
@@ -256,7 +256,7 @@
 
             httpProfile.Endpoint = ("iai.tencentcloudapi.com");
             clientProfile.HttpProfile = httpProfile;
-            var iaiClient = new IaiClient(cred, "ap-chengdu", clientProfile);
+            var iaiClient = new IaiClient(cred, "ap-shanghai", clientProfile);
             var ret = iaiClient.CreateFace( new TencentCloud.Iai.V20200303.Models.CreateFaceRequest
             {
               
@@ -291,7 +291,7 @@
 
             httpProfile.Endpoint = ("iai.tencentcloudapi.com");
             clientProfile.HttpProfile = httpProfile;
-            var iaiClient = new IaiClient(cred, "ap-chengdu", clientProfile);
+            var iaiClient = new IaiClient(cred, "ap-shanghai", clientProfile);
             var ret = iaiClient.VerifyFaceSync(new  TencentCloud.Iai.V20200303.Models.VerifyFaceRequest
             {
 

--
Gitblit v1.9.1