Browse Source

Merge branch 'master' of http://git.choozmo.com:3000/choozmo/ArkCard-Linebot

Mike 3 years ago
parent
commit
801070039f
1 changed files with 6 additions and 6 deletions
  1. 6 6
      ArkCard-web/goto.js

+ 6 - 6
ArkCard-web/goto.js

@@ -26,7 +26,7 @@ $(document).ready(function () {
   var collectuserid = getcollect[1];
   $.ajax({
     method: "GET",
-    url: "https://api.ptt.cx:8228/collection/" + collectuserid + "",
+    url: "https://ark.cards:8228/collection/" + collectuserid + "",
     // url: "https://api.ptt.cx:8228/collection/Uf161c92b16f84357987a78c2b4b47719",
     dataType: "json",
   })
@@ -119,7 +119,7 @@ $(".collect-send").submit(function (e) {
 
     $.ajax({
       type: 'POST',
-      url: 'https://api.ptt.cx:8228/send',
+      url: 'https://ark.cards:8228/send',
       data: jsonString,
       dataType: 'json',
       success: function (data) {
@@ -151,7 +151,7 @@ $(".nft-buy").submit(function (e) {
 
     $.ajax({
       type: 'POST',
-      url: 'https://api.ptt.cx:8228/buy',
+      url: 'https://ark.cards:8228/buy',
       data: jsonString,
       dataType: 'json',
       success: function (data) {
@@ -181,8 +181,8 @@ $(document).ready(function () {
   var collectuserid = getcollect[1];
   $.ajax({
     method: "GET",
-    url: "https://api.ptt.cx:8228/shop/" + collectuserid + "",
-    url: "https://api.ptt.cx:8228/shop/Uf161c92b16f84357987a78c2b4b47719",
+    url: "https://ark.cards:8228/shop/" + collectuserid + "",
+    url: "https://ark.cards:8228/shop/Uf161c92b16f84357987a78c2b4b47719",
     dataType: "json",
   })
     .done(function (msg) {
@@ -299,7 +299,7 @@ $(document).ready(function () {
   function get_data() {
     $.ajax({
       method: "GET",
-      url: "https://api.ptt.cx:8228/receive/" + userid + "",
+      url: "https://ark.cards:8228/receive/" + userid + "",
       // url:"https://api.ptt.cx:8228/receive/Uf161c92b16f84357987a78c2b4b47719",
       dataType: "json",
     })