Authored by yyq

替换fav api

@@ -41,7 +41,7 @@ const getProductBaseAsync = (productId, uid, skn) => { @@ -41,7 +41,7 @@ const getProductBaseAsync = (productId, uid, skn) => {
41 * @return { Object } 收藏状态 41 * @return { Object } 收藏状态
42 */ 42 */
43 const getUserIsFav = (uid, productId) => { 43 const getUserIsFav = (uid, productId) => {
44 - return SingleAPI.get('', { 44 + return SingleAPI.get('/favorite', {
45 method: 'app.favorite.isFavoriteNew', 45 method: 'app.favorite.isFavoriteNew',
46 id: productId, 46 id: productId,
47 uid: uid, 47 uid: uid,