|
@@ -121,16 +121,8 @@ liff.init({
|
|
|
if (!liff.isLoggedIn()) {
|
|
|
console.log("您未登入");
|
|
|
console.log('context.userId = ' + context.userId); // test
|
|
|
-
|
|
|
- // 呼叫fastAPI,贈送「風」通行證 + 「港記酥皇」
|
|
|
-
|
|
|
- nft_sent_message();
|
|
|
} else {
|
|
|
console.log("您已登入");
|
|
|
-
|
|
|
- // 呼叫fastAPI,贈送「風」通行證 + 「港記酥皇」
|
|
|
-
|
|
|
- nft_sent_message();
|
|
|
}
|
|
|
})
|
|
|
.catch((err) => {
|
|
@@ -152,8 +144,6 @@ $(".event-nft-send").click(function (e) {
|
|
|
text: '請先輸入要查詢的手機號碼',
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
|
|
|
$(".nft-event").submit();
|
|
|
});
|
|
@@ -175,6 +165,9 @@ $(".nft-event").submit(function (e) {
|
|
|
success: function (data) {
|
|
|
console.log('送出成功: ' + JSON.stringify(data));
|
|
|
alert("送出成功");
|
|
|
+
|
|
|
+ // 呼叫fastAPI,贈送「風」通行證 + 「港記酥皇」
|
|
|
+ nft_sent_message();
|
|
|
},
|
|
|
beforeSend: function () {
|
|
|
console.log('beforeSend');
|