From b4bd71804ef70e718d52d71f8306687552d0fad8 Mon Sep 17 00:00:00 2001 From: yxw <17074267@qq.com> Date: Fri, 24 Nov 2023 10:17:53 +0800 Subject: [PATCH] fix --- js/main.js | 2 +- system.bin | 238 ---------------------------------------------------- system.html | 5 +- 3 files changed, 5 insertions(+), 240 deletions(-) delete mode 100644 system.bin diff --git a/js/main.js b/js/main.js index a5ff29c..0dcf200 100644 --- a/js/main.js +++ b/js/main.js @@ -1,7 +1,7 @@ $(document).ready(function () { $("#blink").on('click', function () { console.log('click','#blink') - let url = '/cgi-bin/test.cgi'; + let url = 'http://192.168.0.116/cgi-bin/test.cgi'; let postData = { action: 'blink' } diff --git a/system.bin b/system.bin deleted file mode 100644 index 00fb766..0000000 --- a/system.bin +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - - - - - - - - -
-
-
-
GEAZAN
-
-
- -
- -
-
-
-
-
- -
-
- v1.0.0 -
-
-
-
- -
-
- v1.0.1 -
-
-
-
- -
-
- SN-2343-123-NNDD -
-
-
-
- -
-
- HostName -
-
-
-
-
-
-
- -
- -
-
-
- -
- - - - - -
-
-
-
-
-
-
-
- - -
- - - - - - - - \ No newline at end of file diff --git a/system.html b/system.html index e026184..88fec20 100644 --- a/system.html +++ b/system.html @@ -141,7 +141,8 @@ console.log('返回数据', typeof (res), res) if (res.success) { data = res.content - alert('reseting') + + window.location.href='login.html' } else { alert(res.message) @@ -193,10 +194,12 @@ window.location.reload(true); } else { + console.log(res.message) alert(res.message) } }, error: function (res) { + console.log(res) } }) })