소스 검색

qrcode scanner

Mike 4 년 전
부모
커밋
468327568a
1개의 변경된 파일7개의 추가작업 그리고 8개의 파일을 삭제
  1. 7 8
      ArkCard-web/collect.html

+ 7 - 8
ArkCard-web/collect.html

@@ -389,17 +389,16 @@ $(document).ready(function () {
             liff.login({ redirectUri: "https://ark.cards/collect.html?"+context.userId });  // test
         } else {
             console.log("您已登入");
-            collection(context.userId); // 收藏頁面
+        }
 
-            // 收藏頁面
-            collection(context.userId);
+        // 收藏頁面
+        collection(context.userId);
 
-            // 購買頁面
-            shop(context.userId);
+        // 購買頁面
+        shop(context.userId);
 
-            // Qrcode頁面
-            get_data(context.userId);
-        }       
+        // Qrcode頁面
+        get_data(context.userId);
     })
     .catch((err) => {
         console.log('初始化失敗: ' + err.code + ", " + err.message);