Merge branch 'feature/givePoint'
Showing
1 changed file
with
2 additions
and
8 deletions
@@ -279,7 +279,7 @@ function reMarginFooter(fixedElement) { | @@ -279,7 +279,7 @@ function reMarginFooter(fixedElement) { | ||
279 | function givePoint(parameter) { | 279 | function givePoint(parameter) { |
280 | var CID = 1; | 280 | var CID = 1; |
281 | 281 | ||
282 | - if (!window._yas.sendCustomInfo) { | 282 | + if (!window._yas) { |
283 | return false; | 283 | return false; |
284 | } | 284 | } |
285 | 285 | ||
@@ -309,12 +309,6 @@ function givePoint(parameter) { | @@ -309,12 +309,6 @@ function givePoint(parameter) { | ||
309 | 'page_num': 1 | 309 | 'page_num': 1 |
310 | }, parameter); | 310 | }, parameter); |
311 | 311 | ||
312 | - console.log({ | ||
313 | - 'op': 'YB_CHOOSE_FOR_YOU_Y', | ||
314 | - 'uid': getUid(), | ||
315 | - 'param': parameter | ||
316 | - }, 'yas=WEB=='); | ||
317 | - | ||
318 | if (parameter.REC_POSE === '' || parameter.PRD_ID === '') { | 312 | if (parameter.REC_POSE === '' || parameter.PRD_ID === '') { |
319 | return true; | 313 | return true; |
320 | } | 314 | } |
@@ -322,7 +316,7 @@ function givePoint(parameter) { | @@ -322,7 +316,7 @@ function givePoint(parameter) { | ||
322 | window._yas.sendCustomInfo({ | 316 | window._yas.sendCustomInfo({ |
323 | 'op': 'YB_CHOOSE_FOR_YOU_Y', | 317 | 'op': 'YB_CHOOSE_FOR_YOU_Y', |
324 | 'uid': getUid(), | 318 | 'uid': getUid(), |
325 | - 'param': parameter | 319 | + 'param': JSON.stringify(parameter) |
326 | }, true); | 320 | }, true); |
327 | } | 321 | } |
328 | 322 |
-
Please register or login to post a comment