Commit 6c31c91c authored by zhangjianguo's avatar zhangjianguo

绑定接口 客户已点击

parent 240f9f6b
......@@ -31,7 +31,35 @@
<script src="js/jquery.min.js"></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>
</html>
......@@ -31,7 +31,35 @@
<script src="../../js/moveJs/jquery.min.js"></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>
</html>
......@@ -39,7 +39,35 @@
<script src="../../js/moveJs/jquery.min.js"></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>
</html>
......@@ -36,7 +36,35 @@
<script src="js/jquery.min.js"></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>
</html>
......@@ -62,6 +62,39 @@
$('.bg_12').removeClass('fadeInUp').addClass('flipInY')
},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>
</html>
......@@ -33,7 +33,35 @@
<script src="js/jquery.min.js"></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>
</html>
......@@ -37,7 +37,35 @@
<script src="js/jquery.min.js"></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>
</html>
......@@ -37,7 +37,35 @@
<script src="../../js/moveJs/jquery.min.js"></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>
......
......@@ -48,7 +48,35 @@
<script src="../../js/moveJs/jquery.min.js"></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>
......
......@@ -35,7 +35,35 @@
<script src="../../js/moveJs/jquery.min.js"></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>
......
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