移动系统liao
2025-02-08 8c8404c55a863844cc674a8bedb2cfdb92c1c288
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
            {