From 9dede2eaa1d3e68be387c5fd612eb48226a54c9d Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 04 八月 2023 16:07:22 +0800
Subject: [PATCH] HOST修改

---
 kp_html/kp/js/http.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/kp_html/kp/js/http.js b/kp_html/kp/js/http.js
index 9e3657e..f2d1b37 100644
--- a/kp_html/kp/js/http.js
+++ b/kp_html/kp/js/http.js
@@ -9,6 +9,7 @@
 		return null;
 	},
 	http_request_result: function(key, data) {
+		data = atob(data);
 		console.log("http璇锋眰鍥炶皟", "key锛�" + key);
 		http_util.request_callback[key](data);
 		delete http_util.request_callback[key];
@@ -16,6 +17,9 @@
 	http_request: function(path, data, callback) {
 		key = "http_callback_" + new Date().getTime() + "_" + Math.round(Math.random() * 100000000);
 		http_util.request_callback[key] = callback;
+		
+		console.log("http璇锋眰璺緞", path,key);
+
 		pyjs.http_request(path, JSON.stringify(data), JSON.stringify(["http_util.http_request_result", key]));
 	},
 

--
Gitblit v1.8.0