...
|
...
|
@@ -48,9 +48,9 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
|
|
|
if (isApp) {
|
|
|
val.detailUrl = val.detailUrl +
|
|
|
'&openby:yohobuy={"action":"go.h5","params":{"islogin":"N","url":"http://m.yohobuy.com/activity/share-buy/detail","params":{"counum":"' +
|
|
|
val.couponValue + '","couponType":"' + val.shareCouponType + '","detailDes":"' +
|
|
|
val.detailDes + '","couponId":"' + val.couponId + '"}}}';
|
|
|
'&openby:yohobuy={"action":"go.h5","params":{"islogin":"N","url":"http:' + val.detailUrl +
|
|
|
'","params":{"counum":"' + val.couponValue + '","couponType":"' + val.shareCouponType +
|
|
|
'","detailDes":"' + val.detailDes + '","couponId":"' + val.couponId + '"}}}';
|
|
|
}
|
|
|
});
|
|
|
|
...
|
...
|
@@ -236,11 +236,11 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
});
|
|
|
|
|
|
result.data.currencyUrl = isApp ? currencyUrl +
|
|
|
'&openby:yohobuy={"action":"go.h5","params":{"islogin":"N","url":"http:' +
|
|
|
'&openby:yohobuy={"action":"go.h5","params":{"islogin":"N","url":"' +
|
|
|
currencyUrl + '"}}' : currencyUrl;
|
|
|
|
|
|
result.data.shareUrl = isApp ? shareUrl +
|
|
|
'?openby:yohobuy={"action":"go.h5","params":{"islogin":"N","url":"http:' +
|
|
|
'?openby:yohobuy={"action":"go.h5","params":{"islogin":"N","url":"' +
|
|
|
shareUrl + '"}}' : shareUrl;
|
|
|
|
|
|
return result.data;
|
...
|
...
|
|