...
|
...
|
@@ -154,10 +154,15 @@ $('.phone-input-content div').on('click', function() { |
|
|
},
|
|
|
success: function(data) {
|
|
|
if (data.result.code === 200) {
|
|
|
if (window._yas && window._yas.sendCustomInfo) {
|
|
|
if (window._yas && window._yas.sendCustomInfo && data.result.coupon) {
|
|
|
window._yas.sendCustomInfo({
|
|
|
activityID: activityID,
|
|
|
returnCode: data.result.returnCode
|
|
|
op: 'YB_GET_COUP',
|
|
|
param: JSON.stringify({
|
|
|
PAGE_NM: document.title,
|
|
|
PAGE_URL: location.href,
|
|
|
COUP_ID: data.result.coupon,
|
|
|
TEL_ID: $('#phone').val()
|
|
|
})
|
|
|
}, true);
|
|
|
}
|
|
|
if (!data.result.newUser) {
|
...
|
...
|
@@ -235,10 +240,15 @@ $('.vertify-input-content').on('click', '.get', function() { |
|
|
dataType: 'json',
|
|
|
success: function(data) {
|
|
|
if (data.result.code === 200) {
|
|
|
if (window._yas && window._yas.sendCustomInfo) {
|
|
|
if (window._yas && window._yas.sendCustomInfo && data.result.coupon) {
|
|
|
window._yas.sendCustomInfo({
|
|
|
activityID: activityID,
|
|
|
returnCode: data.result.returnCode
|
|
|
op: 'YB_GET_COUP',
|
|
|
param: JSON.stringify({
|
|
|
PAGE_NM: document.title,
|
|
|
PAGE_URL: location.href,
|
|
|
COUP_ID: data.result.coupon,
|
|
|
TEL_ID: $('#phone').val()
|
|
|
})
|
|
|
}, true);
|
|
|
}
|
|
|
if (!data.result.newUser) {
|
...
|
...
|
|