Authored by yyq

替换fav url

... ... @@ -6,6 +6,7 @@
'use strict';
const api = global.yoho.API;
const favApi = global.yoho.FavAPI;
/**
* 获取商品基础数据API
... ... @@ -40,7 +41,7 @@ const getProductBaseAsync = (productId, uid, skn) => {
* @return { Object } 收藏状态
*/
const getUserIsFav = (uid, productId) => {
return api.get('', {
return favApi.get('', {
method: 'app.favorite.isFavorite',
id: productId,
uid: uid,
... ...
... ... @@ -22,6 +22,7 @@ module.exports = {
},
cookieDomain: 'yohoblk.com',
domains: {
favApi: 'http://192.168.102.31:8092/brower',
api: 'http://api-test1.yohops.com:9999/',
service: 'http://service-test1.yohops.com:9999/',
search: 'http://192.168.102.216:8080/yohosearch/'
... ...
... ... @@ -61,7 +61,7 @@
"uuid": "^2.0.2",
"winston": "^2.2.0",
"winston-daily-rotate-file": "^1.1.4",
"yoho-node-lib": "0.0.31"
"yoho-node-lib": "0.0.37"
},
"devDependencies": {
"autoprefixer": "^6.3.6",
... ...