Authored by 李靖

格式化url

... ... @@ -211,7 +211,11 @@ module.exports = class extends global.yoho.BaseModel {
}, {
code: 200
}).then((result) => {
let currencyUrl = 'http://m.yohobuy.com/service/qaDetail?keyword=%E6%9C%89%E8%B4%A7%E5%B8%81&sonId=233';
let currencyUrl = helpers.urlFormat('/service/qaDetail', {
keyword: '%E6%9C%89%E8%B4%A7%E5%B8%81',
sonId: '233'
});
let shareUrl = 'http://m.yohobuy.com/activity/share-buy';
if (result && result.code === 200 && result.data) {
... ...