jeter20131220 3 lat temu
rodzic
commit
aa4c759eff
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      ArkCard-web/goto.js

+ 2 - 1
ArkCard-web/goto.js

@@ -28,10 +28,11 @@ console.log(1);
 
 
   $(document).ready(function () {
+    var userid=location.search;
     function get_data(){
       $.ajax({
         method: "GET",
-        url:"https://api.ptt.cx:8228/receive/Uf161c92b16f84357987a78c2b4b47719",
+        url:"https://api.ptt.cx:8228/receive/"+userid+"",
         dataType: "json",
     })
     .done(function (msg) {