From 63eb28a9ba7aa9c549bc99f9c68d0a4c051453ba Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期四, 20 三月 2025 17:38:47 +0800 Subject: [PATCH] 修正sugsql导航更新加配置的bug --- 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