From 320e9165ac6cc6d90978fbef3074a8ed9add1790 Mon Sep 17 00:00:00 2001
From: Administrator <1101184511@qq.com>
Date: 星期五, 09 五月 2025 01:21:32 +0800
Subject: [PATCH] 后台管理页面完成

---
 src/main/resources/static/agent/js/index.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/static/agent/js/index.js b/src/main/resources/static/agent/js/index.js
index ffc13d5..ce7bd0a 100644
--- a/src/main/resources/static/agent/js/index.js
+++ b/src/main/resources/static/agent/js/index.js
@@ -71,7 +71,7 @@
 			},
 
 			getConfig: function() {
-				http_util.post("/agentapi/admin/getConfig", {}, function(res) {
+				http.post("/agentapi/admin/getConfig", {}, function(res) {
 					if (res.code == 0) {
 						app.config = res.data;
 					}
@@ -81,7 +81,7 @@
 				});
 			},
 			requestOrders: function() {
-				http_util.post("/agentapi/admin/orderList", {
+				http.post("/agentapi/admin/orderList", {
 					key: $("#search_key").val(),
 					timeIndex: app.screen_time_index,
 					page: app.current_page
@@ -107,7 +107,7 @@
 				});
 			},
 			requestWithdraw: function() {
-				http_util.post("/agentapi/admin/withdrawList", {
+				http.post("/agentapi/admin/withdrawList", {
 					page: app.current_page
 				}, function(res) {
 					if (res.code == 0) {
@@ -155,7 +155,7 @@
 				app.requestWithdraw();
 			},
 			withdraw: function(id) {
-				http_util.post("/agentapi/admin/withdraw", {
+				http.post("/agentapi/admin/withdraw", {
 					id: id
 				}, function(res) {
 					if (res.code == 0) {

--
Gitblit v1.8.0