From 52b00d24c1eb0b236ea5b52f3072715b501780c7 Mon Sep 17 00:00:00 2001 From: "DESKTOP-00SUCB6\\Administrator" Date: Mon, 28 Jun 2021 09:31:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E6=96=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/config.js | 5 ++--- public/m.html | 7 +++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/public/config.js b/public/config.js index b3cab0c..087be89 100644 --- a/public/config.js +++ b/public/config.js @@ -6,8 +6,7 @@ // } config = { // API_URL: 'http://172.119.50.248:8081', - // API_URL: 'http://121.36.65.171:9999', - API_URL: 'http://10.10.9.71:8081', - + // API_URL: 'http://61.135.192.50:8081', + API_URL: 'http://fw.niulanshan.com.cn:8081', } \ No newline at end of file diff --git a/public/m.html b/public/m.html index fd679c7..2bab321 100644 --- a/public/m.html +++ b/public/m.html @@ -154,16 +154,15 @@ // param = decodeURIComponent(window.location.href.split('?')[1]) param = window.location.href.split('?')[1] || '' - code = param.split('&')[0] || '' + // code = param.split('&')[0] || '' function checkSocureData() { - if(code) + if(param) { $.ajax({ - url: config.API_URL+"/scan/code/"+code, + url: config.API_URL+"/scan/code/"+encodeURIComponent(param), type: "GET", dataType: "json", success: function(res) { - console.log(res.code); if(res.code == 200) { $("#patch").show()