From fbb8d089800eef89f0bfc37ffe3114da371d077c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=BD=87=E9=98=B3?= Date: Fri, 16 Aug 2024 17:11:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E5=A4=96=E7=BD=91=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=AE=BF=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CPF_Cef/Common/ChunkedUpload.cs | 2 +- CPF_Cef/Parame.cs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CPF_Cef/Common/ChunkedUpload.cs b/CPF_Cef/Common/ChunkedUpload.cs index 98ca11c..128582f 100644 --- a/CPF_Cef/Common/ChunkedUpload.cs +++ b/CPF_Cef/Common/ChunkedUpload.cs @@ -703,7 +703,7 @@ namespace AksWebBrowser.Common try { var client = new HttpClient(); - var request = new HttpRequestMessage(HttpMethod.Post, Parame.qwUrl + "/api/QuestionAnswer/Query"); + var request = new HttpRequestMessage(HttpMethod.Post, Parame.apiUrl + "/api/QuestionAnswer/Query"); var content = new StringContent("{\r\n \"PetitionId\": \"" + PetitionId + "\",\r\n \"PId\": \"" + PId + "\",\r\n \"Name\": \"" + Name + "\",\r\n \"PageIndex\": " + PageIndex + ",\r\n \"PageSize\": " + PageSize + "\r\n}", null, "application/json"); request.Content = content; var response = await client.SendAsync(request); diff --git a/CPF_Cef/Parame.cs b/CPF_Cef/Parame.cs index e3fabf1..7cbe4e0 100644 --- a/CPF_Cef/Parame.cs +++ b/CPF_Cef/Parame.cs @@ -59,8 +59,6 @@ namespace AksWebBrowser public static int score = 65; //人脸比对阈值 public static string ImgBase64 = string.Empty; - //获取问答 - public static string qwUrl = "http://116.205.231.210:82"; } public struct Func {