Commit 6c31c91c authored by zhangjianguo's avatar zhangjianguo

绑定接口 客户已点击

parent 240f9f6b
...@@ -31,7 +31,35 @@ ...@@ -31,7 +31,35 @@
<script src="js/jquery.min.js"></script> <script src="js/jquery.min.js"></script>
<script> <script>
let href = window.location.href;
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?GuestId=48642&customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODY4NTQ2NTQuMCwiZXhwIjoxNTg3MTEzODU0LjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6M319.VWDrjGI7lVe8MCis1FFOCuUBB7w_FsQhKoYZ3dEMznU&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=app';
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?Id=48642'
let param = href.split('?')[1];
let Id;
if(param.indexOf('&')!=-1){
Id = param.split('&')[0].split('=')[1]
}else {
Id = param.split('=')[1]
}
if(Id>0){
$.ajax({
type: "POST",
url: `http://crm.oytour.com/api/SellEventIM/UpdateClick`,
// url: `http://192.168.2.65/api/SellEventIM/UpdateClick`,
contentType: "application/json",
data: JSON.stringify( {'msg':{'Id':Id}}),
async: false,
success: function(res) {
},
error: function(res) {
}
})
}
</script> </script>
</html> </html>
...@@ -31,7 +31,35 @@ ...@@ -31,7 +31,35 @@
<script src="../../js/moveJs/jquery.min.js"></script> <script src="../../js/moveJs/jquery.min.js"></script>
<script> <script>
let href = window.location.href;
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?GuestId=48642&customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODY4NTQ2NTQuMCwiZXhwIjoxNTg3MTEzODU0LjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6M319.VWDrjGI7lVe8MCis1FFOCuUBB7w_FsQhKoYZ3dEMznU&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=app';
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?Id=48642'
let param = href.split('?')[1];
let Id;
if(param.indexOf('&')!=-1){
Id = param.split('&')[0].split('=')[1]
}else {
Id = param.split('=')[1]
}
if(Id>0){
$.ajax({
type: "POST",
url: `http://crm.oytour.com/api/SellEventIM/UpdateClick`,
// url: `http://192.168.2.65/api/SellEventIM/UpdateClick`,
contentType: "application/json",
data: JSON.stringify( {'msg':{'Id':Id}}),
async: false,
success: function(res) {
},
error: function(res) {
}
})
}
</script> </script>
</html> </html>
...@@ -39,7 +39,35 @@ ...@@ -39,7 +39,35 @@
<script src="../../js/moveJs/jquery.min.js"></script> <script src="../../js/moveJs/jquery.min.js"></script>
<script> <script>
let href = window.location.href;
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?GuestId=48642&customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODY4NTQ2NTQuMCwiZXhwIjoxNTg3MTEzODU0LjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6M319.VWDrjGI7lVe8MCis1FFOCuUBB7w_FsQhKoYZ3dEMznU&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=app';
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?Id=48642'
let param = href.split('?')[1];
let Id;
if(param.indexOf('&')!=-1){
Id = param.split('&')[0].split('=')[1]
}else {
Id = param.split('=')[1]
}
if(Id>0){
$.ajax({
type: "POST",
url: `http://crm.oytour.com/api/SellEventIM/UpdateClick`,
// url: `http://192.168.2.65/api/SellEventIM/UpdateClick`,
contentType: "application/json",
data: JSON.stringify( {'msg':{'Id':Id}}),
async: false,
success: function(res) {
},
error: function(res) {
}
})
}
</script> </script>
</html> </html>
...@@ -36,7 +36,35 @@ ...@@ -36,7 +36,35 @@
<script src="js/jquery.min.js"></script> <script src="js/jquery.min.js"></script>
<script> <script>
let href = window.location.href;
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?GuestId=48642&customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODY4NTQ2NTQuMCwiZXhwIjoxNTg3MTEzODU0LjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6M319.VWDrjGI7lVe8MCis1FFOCuUBB7w_FsQhKoYZ3dEMznU&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=app';
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?Id=48642'
let param = href.split('?')[1];
let Id;
if(param.indexOf('&')!=-1){
Id = param.split('&')[0].split('=')[1]
}else {
Id = param.split('=')[1]
}
if(Id>0){
$.ajax({
type: "POST",
url: `http://crm.oytour.com/api/SellEventIM/UpdateClick`,
// url: `http://192.168.2.65/api/SellEventIM/UpdateClick`,
contentType: "application/json",
data: JSON.stringify( {'msg':{'Id':Id}}),
async: false,
success: function(res) {
},
error: function(res) {
}
})
}
</script> </script>
</html> </html>
...@@ -62,6 +62,39 @@ ...@@ -62,6 +62,39 @@
$('.bg_12').removeClass('fadeInUp').addClass('flipInY') $('.bg_12').removeClass('fadeInUp').addClass('flipInY')
},2000) },2000)
let href = window.location.href;
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?GuestId=48642&customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODY4NTQ2NTQuMCwiZXhwIjoxNTg3MTEzODU0LjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6M319.VWDrjGI7lVe8MCis1FFOCuUBB7w_FsQhKoYZ3dEMznU&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=app';
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?Id=48642'
let param = href.split('?')[1];
let Id;
if(param.indexOf('&')!=-1){
Id = param.split('&')[0].split('=')[1]
}else {
Id = param.split('=')[1]
}
if(Id>0){
$.ajax({
type: "POST",
url: `http://crm.oytour.com/api/SellEventIM/UpdateClick`,
// url: `http://192.168.2.65/api/SellEventIM/UpdateClick`,
contentType: "application/json",
data: JSON.stringify( {'msg':{'Id':Id}}),
async: false,
success: function(res) {
},
error: function(res) {
}
})
}
</script> </script>
</html> </html>
...@@ -33,7 +33,35 @@ ...@@ -33,7 +33,35 @@
<script src="js/jquery.min.js"></script> <script src="js/jquery.min.js"></script>
<script> <script>
let href = window.location.href;
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?GuestId=48642&customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODY4NTQ2NTQuMCwiZXhwIjoxNTg3MTEzODU0LjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6M319.VWDrjGI7lVe8MCis1FFOCuUBB7w_FsQhKoYZ3dEMznU&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=app';
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?Id=48642'
let param = href.split('?')[1];
let Id;
if(param.indexOf('&')!=-1){
Id = param.split('&')[0].split('=')[1]
}else {
Id = param.split('=')[1]
}
if(Id>0){
$.ajax({
type: "POST",
url: `http://crm.oytour.com/api/SellEventIM/UpdateClick`,
// url: `http://192.168.2.65/api/SellEventIM/UpdateClick`,
contentType: "application/json",
data: JSON.stringify( {'msg':{'Id':Id}}),
async: false,
success: function(res) {
},
error: function(res) {
}
})
}
</script> </script>
</html> </html>
...@@ -37,7 +37,35 @@ ...@@ -37,7 +37,35 @@
<script src="js/jquery.min.js"></script> <script src="js/jquery.min.js"></script>
<script> <script>
let href = window.location.href;
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?GuestId=48642&customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODY4NTQ2NTQuMCwiZXhwIjoxNTg3MTEzODU0LjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6M319.VWDrjGI7lVe8MCis1FFOCuUBB7w_FsQhKoYZ3dEMznU&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=app';
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?Id=48642'
let param = href.split('?')[1];
let Id;
if(param.indexOf('&')!=-1){
Id = param.split('&')[0].split('=')[1]
}else {
Id = param.split('=')[1]
}
if(Id>0){
$.ajax({
type: "POST",
url: `http://crm.oytour.com/api/SellEventIM/UpdateClick`,
// url: `http://192.168.2.65/api/SellEventIM/UpdateClick`,
contentType: "application/json",
data: JSON.stringify( {'msg':{'Id':Id}}),
async: false,
success: function(res) {
},
error: function(res) {
}
})
}
</script> </script>
</html> </html>
...@@ -37,7 +37,35 @@ ...@@ -37,7 +37,35 @@
<script src="../../js/moveJs/jquery.min.js"></script> <script src="../../js/moveJs/jquery.min.js"></script>
<script> <script>
let href = window.location.href;
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?GuestId=48642&customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODY4NTQ2NTQuMCwiZXhwIjoxNTg3MTEzODU0LjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6M319.VWDrjGI7lVe8MCis1FFOCuUBB7w_FsQhKoYZ3dEMznU&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=app';
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?Id=48642'
let param = href.split('?')[1];
let Id;
if(param.indexOf('&')!=-1){
Id = param.split('&')[0].split('=')[1]
}else {
Id = param.split('=')[1]
}
if(Id>0){
$.ajax({
type: "POST",
url: `http://crm.oytour.com/api/SellEventIM/UpdateClick`,
// url: `http://192.168.2.65/api/SellEventIM/UpdateClick`,
contentType: "application/json",
data: JSON.stringify( {'msg':{'Id':Id}}),
async: false,
success: function(res) {
},
error: function(res) {
}
})
}
</script> </script>
......
...@@ -48,7 +48,35 @@ ...@@ -48,7 +48,35 @@
<script src="../../js/moveJs/jquery.min.js"></script> <script src="../../js/moveJs/jquery.min.js"></script>
<script> <script>
let href = window.location.href;
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?GuestId=48642&customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODY4NTQ2NTQuMCwiZXhwIjoxNTg3MTEzODU0LjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6M319.VWDrjGI7lVe8MCis1FFOCuUBB7w_FsQhKoYZ3dEMznU&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=app';
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?Id=48642'
let param = href.split('?')[1];
let Id;
if(param.indexOf('&')!=-1){
Id = param.split('&')[0].split('=')[1]
}else {
Id = param.split('=')[1]
}
if(Id>0){
$.ajax({
type: "POST",
url: `http://crm.oytour.com/api/SellEventIM/UpdateClick`,
// url: `http://192.168.2.65/api/SellEventIM/UpdateClick`,
contentType: "application/json",
data: JSON.stringify( {'msg':{'Id':Id}}),
async: false,
success: function(res) {
},
error: function(res) {
}
})
}
</script> </script>
......
...@@ -35,7 +35,35 @@ ...@@ -35,7 +35,35 @@
<script src="../../js/moveJs/jquery.min.js"></script> <script src="../../js/moveJs/jquery.min.js"></script>
<script> <script>
let href = window.location.href;
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?GuestId=48642&customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODY4NTQ2NTQuMCwiZXhwIjoxNTg3MTEzODU0LjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6M319.VWDrjGI7lVe8MCis1FFOCuUBB7w_FsQhKoYZ3dEMznU&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=app';
// let href = 'http://activity.oytour.com/html/shortLinks/BirthdayLetter.html?Id=48642'
let param = href.split('?')[1];
let Id;
if(param.indexOf('&')!=-1){
Id = param.split('&')[0].split('=')[1]
}else {
Id = param.split('=')[1]
}
if(Id>0){
$.ajax({
type: "POST",
url: `http://crm.oytour.com/api/SellEventIM/UpdateClick`,
// url: `http://192.168.2.65/api/SellEventIM/UpdateClick`,
contentType: "application/json",
data: JSON.stringify( {'msg':{'Id':Id}}),
async: false,
success: function(res) {
},
error: function(res) {
}
})
}
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment