From 18590e3512d2d348e5149ee2bb3018c28c9a5b22 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 30 九月 2024 14:26:35 +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