From 84569abda51ecf6c5549dec4cadee8d043422379 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 30 九月 2025 09:33:28 +0800
Subject: [PATCH] 2025.9.30

---
 src/main/kotlin/com/flightfeather/grid/external/ClueHttpService.kt |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/grid/external/ClueHttpService.kt b/src/main/kotlin/com/flightfeather/grid/external/ClueHttpService.kt
index 777baae..1f8990d 100644
--- a/src/main/kotlin/com/flightfeather/grid/external/ClueHttpService.kt
+++ b/src/main/kotlin/com/flightfeather/grid/external/ClueHttpService.kt
@@ -34,7 +34,10 @@
         private const val TAG = "ClueHttpService"
         private const val TOKEN = "e6dc8bb9e1ff0ce973fb92b4af2e4c3f"
     }
-    private val httpMethod: HttpMethod = HttpMethod("101.230.224.80", 8082)
+    // 鍘熷IP鍦板潃
+//    private val httpMethod: HttpMethod = HttpMethod("101.230.224.80", 8082)
+    // 2025.9.22 鏍规嵁闈欏畨鍖虹涓夋柟鎺ュ彛鏂囨。锛屼慨鏀笽P鍦板潃
+    private val httpMethod: HttpMethod = HttpMethod("fmepi.jingan.gov.cn", 8088, true)
 
     @Value("\${imgPath}")
     lateinit var imgPath: String
@@ -85,7 +88,8 @@
         val time = updateTime.replace(" ", "%20")
 //        val time = updateTime
         try {
-            val res = httpMethod.get("/feedback/queryYxfListNew", listOf(Pair("updateTime", time)), headTimeStamp())
+            val res = httpMethod.get("/govProxy/feedback/queryYxfListNew", listOf(Pair("updateTime", time)),
+                headTimeStamp())
             val data = resCheck(res).asJsonArray
             return GsonUtils.parserJsonToArrayBeans(data.toString(), ClueDto::class.java)
         } catch (e: Exception) {
@@ -95,7 +99,7 @@
 
     fun getClueFile(clueId: String): HttpMethod.MyResponse {
         try {
-            return httpMethod.get("/feedback/getPDFNew", listOf(Pair("id", clueId)), headTimeStamp())
+            return httpMethod.get("/govProxy/feedback/getPDFNew", listOf(Pair("id", clueId)), headTimeStamp())
         } catch (e: Exception) {
             throw BizException(e.message, e.cause)
         }
@@ -109,7 +113,7 @@
         val vo = ClueConclusionDto(clueConclusion)
         val dataJson = Gson().toJson(vo)
         try {
-            val res = httpMethod.post("/feedback/thirdReportNew", dataJson, headTimeStamp())
+            val res = httpMethod.post("/govProxy/feedback/thirdReportNew", dataJson, headTimeStamp())
             resCheck(res)
             clueConclusion.ccUploaded = true
             clueConclusion.ccUploadTime = Date()
@@ -145,7 +149,7 @@
 
         val entity = builder.build()
         try {
-            val res = httpMethod.post("/feedback/questionReportNew", entity, headTimeStamp())
+            val res = httpMethod.post("/govProxy/feedback/questionReportNew", entity, headTimeStamp())
             resCheck(res)
             clueQuestion.cqUploaded = true
             clueQuestion.cqUploadTime = Date()

--
Gitblit v1.9.3