Commit 319a7566 authored by 任国军's avatar 任国军

url from add 51yhdai check

parent 8d7740c7
Pipeline #17524 passed with stage
in 8 seconds
...@@ -502,7 +502,7 @@ class ProductService extends Service { ...@@ -502,7 +502,7 @@ class ProductService extends Service {
const rate = channels.includes(channel) ? v.channel_rate : v.rate; const rate = channels.includes(channel) ? v.channel_rate : v.rate;
const rateTitle = channels.includes(channel) ? v.channel_rate_title : v.rate_title; const rateTitle = channels.includes(channel) ? v.channel_rate_title : v.rate_title;
let url = v.url; let url = v.url;
if (Number(v.type) === 4) { if (Number(v.type) === 4 && !url.includes('51yhdai')) {
url = url.includes('?') ? url + '&from=51gjj_loan_channel' : url + '?from=51gjj_loan_channel'; url = url.includes('?') ? url + '&from=51gjj_loan_channel' : url + '?from=51gjj_loan_channel';
} }
url = this.config.PHP_URL + '/app/track/url?url=' + encodeURI(url) + '&source=51gjj&location=' + location; url = this.config.PHP_URL + '/app/track/url?url=' + encodeURI(url) + '&source=51gjj&location=' + location;
......
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