Commit 2bd737ad authored by 谢永靖's avatar 谢永靖

#partner

parent 070b144d
Pipeline #34271 passed with stage
in 2 seconds
...@@ -723,12 +723,19 @@ class ProductService extends Service { ...@@ -723,12 +723,19 @@ class ProductService extends Service {
: url + "?from=51gjj_loan_channel"; : url + "?from=51gjj_loan_channel";
} }
} }
let isLogin = false;
if (/#partner/.test(url)) {
isLogin = true;
}
url = url =
this.config.PHP_URL + this.config.PHP_URL +
"/app/track/url?url=" + "/app/track/url?url=" +
encodeURIComponent(url) + encodeURIComponent(url) +
"&source=51gjj&location=" + "&source=51gjj&location=" +
location; location;
if (isLogin) {
url + '#partner';
}
// ctx.logger.info(v.cities) // ctx.logger.info(v.cities)
// ctx.logger.info(city) // ctx.logger.info(city)
if (v.cities && v.cities.length > 0 && city != "") { if (v.cities && v.cities.length > 0 && city != "") {
......
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