Authored by yyq

shop 基础模板处理

... ... @@ -1216,10 +1216,9 @@ exports.handleSuggest = (data) => {
* @type {[type]}
*/
exports.handleBrandBanner = (data) => {
return {
bannerHeight: 150,
banner: helpers.getForceSourceUrl(data.brandBanner),
banner: helpers.getForceSourceUrl(data.brandBanner || ''),
brandHome: data.url,
brandIntro: helpers.urlFormat('/about', '', data.brandDomain),
dataId: data.brandId
... ...
... ... @@ -16,10 +16,8 @@ module.exports = {
siteUrl: 'http://www.yohobuy.com',
domains: {
favApi: 'http://192.168.102.31:8092/brower',
api: 'http://api.yoho.yohoops.org/',
service: 'http://service.yoho.yohoops.org/',
// api: 'http://api-test1.yohops.com:9999/',
// service: 'http://service-test1.yohops.com:9999/',
api: 'http://api-test1.yohops.com:9999/',
service: 'http://service-test1.yohops.com:9999/',
search: 'http://192.168.102.216:8080/yohosearch/'
},
subDomains: {
... ...