Authored by 陶雨

Merge branch 'release/1.6' of http://git.dev.yoho.cn/platform/yohobuy-portal-fe into release/1.6

exports.domain = 'http://172.16.9.8:8080/yohobuy-platform-web';
//exports.domain = 'http://172.16.9.8:8080/yohobuy-platform-web';
exports.domain = require('../config/common.js').domain;
exports.res = [{
//网销信息 -> 逛关联
route: '/goods/article/queryArticlesBySKN',
... ...
... ... @@ -57,7 +57,7 @@ module.exports = function(proxyRoute) {
logger.log('info','grayroute: request options: %j',options,{});
//发起代理请求
if(req.headers['accept'].indexOf('text/html')>-1) {
if(req.headers['accept'].indexOf('text/html')>-1||req.xhr) {
request(options,function(err,res,body) {
if(err) {
logger.log('error','grayroute: request error:',err);
... ...