diff --git a/BackEnd/ip-management.aspx b/BackEnd/ip-management.aspx index d30e712..112971b 100644 --- a/BackEnd/ip-management.aspx +++ b/BackEnd/ip-management.aspx @@ -31,7 +31,7 @@ $("#ctl00_ContentPlaceHolder1_clearAll").click(function () { if (confirm("確定要刪除2025/3/31(含)以前的所有資料?")) { - if (confim("再次確定要刪除?")) { + if (confirm("再次確定要刪除?")) { var formData = { type: 'all' } @@ -59,7 +59,7 @@ $("#ctl00_ContentPlaceHolder1_clearData").click(function () { if (confirm("確定要刪除2025/3/31(含)以前的所有寶寶資料(含紀錄)?")) { - if (confim("再次確定要刪除?")) { + if (confirm("再次確定要刪除?")) { var formData = { type: 'babyData' } @@ -88,7 +88,7 @@ $("#ctl00_ContentPlaceHolder1_clearRec").click(function () { if (confirm("確定要刪除2025/3/31(含)以前的寶寶紀錄?")) { - if (confim("再次確定要刪除?")) { + if (confirm("再次確定要刪除?")) { var formData = { type: 'babyRec' } diff --git a/Redirect/Default.aspx.cs b/Redirect/Default.aspx.cs index 77ea170..3e8a96a 100644 --- a/Redirect/Default.aspx.cs +++ b/Redirect/Default.aspx.cs @@ -29,19 +29,36 @@ namespace abbott_2024_event.Redirect Response.End(); } - string redirectUrl = ""; + string redirectUrl = "https://www.abbott-nutrition.com.tw/pediasure/2024_event/"; if (utm_medium == "prod") { + redirectUrl = "https://www.abbott-nutrition.com.tw/pediasure/2024_event/Redirect/?utm_source=" + utm_source + "&utm_medium=do_" + utm_medium + "&uid=" + uid + "&phone=" + phone + "&username=" + username; + Response.Redirect(redirectUrl); + } + + if (utm_medium == "do_prod") { redirectUrl = "https://www.abbott-nutrition.com.tw/pediasure/2024_event/"; } if (utm_medium == "dev") { - redirectUrl = "https://abbott-2024-event.bremennetwork.tw/abbott-2024/"; + //redirectUrl = "https://abbott-2024-event.bremennetwork.tw/abbott-2024/"; + redirectUrl = "https://www.abbott-nutrition.com.tw/pediasure/4Ip2xCJElotaBUKBNJuz9sUY5/Redirect/?utm_source=" + utm_source + "&utm_medium=do_" + utm_medium + "&uid=" + uid + "&phone=" + phone + "&username=" + username; + Response.Redirect(redirectUrl); } + if (utm_medium == "do_dev") + { + redirectUrl = "https://www.abbott-nutrition.com.tw/pediasure/4Ip2xCJElotaBUKBNJuz9sUY5/"; + } + + + if (utm_medium == "bremen") { + redirectUrl = "https://abbott-2024-event.bremennetwork.tw/abbott-2024/"; + } + if (redirectUrl == "") { Response.Write("無此utm_medium資料"); Response.End(); @@ -57,7 +74,7 @@ namespace abbott_2024_event.Redirect } - redirectUrl += "?uid=" + uid + "&phone=" + phone + "&username=" + username + "&temp_key=" + temp_key +"&utm_source=" + tmpRec.utm_source + "&utm_medium=" + tmpRec.utm_medium + "&utm_campaign=" + tmpRec.utm_campaign + "&utm_content=" + tmpRec.utm_content + "&utm_term=" + tmpRec.utm_term; + redirectUrl += "?uid=" + uid + "&phone=" + phone + "&username=" + username + "&temp_key=" + temp_key +"&utm_source=" + tmpRec.utm_source + "&utm_medium=" + tmpRec.utm_medium + "&utm_campaign=" + tmpRec.utm_campaign + "&utm_content=" + tmpRec.utm_content + "&utm_term=" + tmpRec.utm_term + "&end=true"; Response.Redirect(redirectUrl); } diff --git a/bin/abbott_2024_event.dll b/bin/abbott_2024_event.dll index 69dc6a4..5a87220 100644 Binary files a/bin/abbott_2024_event.dll and b/bin/abbott_2024_event.dll differ diff --git a/bin/app.publish/BackEnd/ip-management.aspx b/bin/app.publish/BackEnd/ip-management.aspx index d30e712..112971b 100644 --- a/bin/app.publish/BackEnd/ip-management.aspx +++ b/bin/app.publish/BackEnd/ip-management.aspx @@ -31,7 +31,7 @@ $("#ctl00_ContentPlaceHolder1_clearAll").click(function () { if (confirm("確定要刪除2025/3/31(含)以前的所有資料?")) { - if (confim("再次確定要刪除?")) { + if (confirm("再次確定要刪除?")) { var formData = { type: 'all' } @@ -59,7 +59,7 @@ $("#ctl00_ContentPlaceHolder1_clearData").click(function () { if (confirm("確定要刪除2025/3/31(含)以前的所有寶寶資料(含紀錄)?")) { - if (confim("再次確定要刪除?")) { + if (confirm("再次確定要刪除?")) { var formData = { type: 'babyData' } @@ -88,7 +88,7 @@ $("#ctl00_ContentPlaceHolder1_clearRec").click(function () { if (confirm("確定要刪除2025/3/31(含)以前的寶寶紀錄?")) { - if (confim("再次確定要刪除?")) { + if (confirm("再次確定要刪除?")) { var formData = { type: 'babyRec' } diff --git a/bin/app.publish/bin/abbott_2024_event.dll b/bin/app.publish/bin/abbott_2024_event.dll index 69dc6a4..5a87220 100644 Binary files a/bin/app.publish/bin/abbott_2024_event.dll and b/bin/app.publish/bin/abbott_2024_event.dll differ