Authored by zhangxiaoru

guang点赞

... ... @@ -331,7 +331,7 @@ const getDynamicDataByIds = (ids, udid, other) => {
});
}
return serviceAPI.get('guang/api/*/article/getSimpleArticleList', params, {cache: true});
return serviceAPI.get('guang/api/v6/article/getSimpleArticleList', params, {cache: true});
};
/**
... ... @@ -340,7 +340,7 @@ const getDynamicDataByIds = (ids, udid, other) => {
* @returns {Promise.<T>|*}
*/
const getDynamicDataById = (id, uid, udid) => {
return serviceAPI.get('/gateway/guang/api/*/article/getArticlePraiseAndFavor', {
return serviceAPI.get('/gateway/guang/api/v6/article/getArticlePraiseAndFavor', {
id: id,
uid: uid,
udid: udid
... ...
... ... @@ -17,9 +17,9 @@ module.exports = {
siteUrl: '//m.yohobuy.com',
assetUrl: '//localhost:5001',
domains: {
api: 'http://api.yoho.yohoops.org/',
service: 'http://service.yoho.yohoops.org/',
liveApi: 'http://api.live.yoho.cn/',
api: 'http://api.yoho.cn/',
service: 'http://service.yoho.cn/',
liveApi: 'http://api.live.yoho.cn/',
singleApi: 'http://single.yoho.cn/'
// api: 'http://api-test1.yohops.com:9999/',
... ...
{
"name": "m-yohobuy-node",
"version": "11.11.0",
"version": "11.11.1",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
... ... @@ -21,6 +21,8 @@ module.exports = function(callback) {
callback(data);
}
});
} else {
callback();
}
};
function render(data) {
... ...