Explorar o código

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

Mike %!s(int64=3) %!d(string=hai) anos
pai
achega
801070039f
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      ArkCard-web/goto.js

+ 6 - 6
ArkCard-web/goto.js

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