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 {