From e6c74bf2f4926aa62b4442169f55b8fbccf33300 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 14 十月 2024 08:48:34 +0800 Subject: [PATCH] 审批时间5分钟以内可以再次审批 --- 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