|
@@ -19,14 +19,16 @@ $(document).on("click", ".close", function (event) {
|
|
|
$(".collectcontent").removeClass("select");
|
|
|
});
|
|
|
|
|
|
+var collectuserid = 'U176663ce100ebb1f4c404d48749decb1'; // test
|
|
|
+
|
|
|
// 收藏頁面
|
|
|
$(document).ready(function () {
|
|
|
- collecturl = location.search;
|
|
|
- collecturl = collecturl.split("&")[0];
|
|
|
- console.log("collecturl = " + collecturl); // test
|
|
|
- getcollect = collecturl.split("?");
|
|
|
- var collectuserid = getcollect[1];
|
|
|
- console.log(collecturl);
|
|
|
+ // collecturl = location.search;
|
|
|
+ // collecturl = collecturl.split("&")[0];
|
|
|
+ // console.log("collecturl = " + collecturl); // test
|
|
|
+ // getcollect = collecturl.split("?");
|
|
|
+ // var collectuserid = getcollect[1];
|
|
|
+ // console.log(collecturl);
|
|
|
|
|
|
$.ajax({
|
|
|
method: "GET",
|
|
@@ -185,11 +187,11 @@ $(".nft-buy").submit(function (e) {
|
|
|
|
|
|
// 購買頁面
|
|
|
$(document).ready(function () {
|
|
|
- collecturl = location.search;
|
|
|
- collecturl = collecturl.split("&")[0];
|
|
|
- console.log("collecturl = " + collecturl); // test
|
|
|
- getcollect = collecturl.split("?")
|
|
|
- var collectuserid = getcollect[1];
|
|
|
+ // collecturl = location.search;
|
|
|
+ // collecturl = collecturl.split("&")[0];
|
|
|
+ // console.log("collecturl = " + collecturl); // test
|
|
|
+ // getcollect = collecturl.split("?")
|
|
|
+ // var collectuserid = getcollect[1];
|
|
|
$.ajax({
|
|
|
method: "GET",
|
|
|
url: "https://ark.cards:8228/shop/" + collectuserid + "",
|
|
@@ -304,11 +306,11 @@ $(document).ready(function () {
|
|
|
|
|
|
// Qrcode頁面
|
|
|
$(document).ready(function () {
|
|
|
- collecturl = location.search;
|
|
|
- collecturl = collecturl.split("&")[0];
|
|
|
- console.log("collecturl = " + collecturl); // test
|
|
|
- getcollect = collecturl.split("?")
|
|
|
- var collectuserid = getcollect[1];
|
|
|
+ // collecturl = location.search;
|
|
|
+ // collecturl = collecturl.split("&")[0];
|
|
|
+ // console.log("collecturl = " + collecturl); // test
|
|
|
+ // getcollect = collecturl.split("?")
|
|
|
+ // var collectuserid = getcollect[1];
|
|
|
function get_data() {
|
|
|
$.ajax({
|
|
|
method: "GET",
|