From abe24f3ad638e033c0d13d6332ccae425d7d1ada Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 25 十月 2024 10:07:31 +0800
Subject: [PATCH] 小修改

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

diff --git a/cylsg/EzTencentCloud/TencentCloudService.cs b/cylsg/EzTencentCloud/TencentCloudService.cs
index 1f80d16..a276174 100644
--- a/cylsg/EzTencentCloud/TencentCloudService.cs
+++ b/cylsg/EzTencentCloud/TencentCloudService.cs
@@ -63,7 +63,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);
 
                 IDCardOCRRequest req = new IDCardOCRRequest();
                 if (isFRONT)
@@ -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()
                 {
@@ -175,7 +175,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);
             try
             {
                 var retinfo = iaiClient.GetGroupInfoSync(new GetGroupInfoRequest
@@ -220,7 +220,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.CreatePerson(new TencentCloud.Iai.V20200303.Models.CreatePersonRequest
             {
                 GroupId = App.Configuration["IAIGroupSet:ID"],
@@ -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