Browse Source

最新修改

master
DESKTOP-00SUCB6\Administrator 4 years ago
parent
commit
52b00d24c1
  1. 5
      public/config.js
  2. 7
      public/m.html

5
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',
}

7
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()

Loading…
Cancel
Save