...
|
...
|
@@ -73,7 +73,7 @@ export function addFavorite(params) { |
|
|
return async (dispatch, getState) => {
|
|
|
let { app: { host }, shareDetail } = getState();
|
|
|
let uid, data;
|
|
|
let isCollect = shareDetail.getIn(['productInfo', 'isCollect']);
|
|
|
let isCollect = shareDetail.get('isCollect');
|
|
|
isCollect === 'Y' && (params.fav_id = params.id)
|
|
|
let service = new Service(host);
|
|
|
dispatch(addFavoriteRequest());
|
...
|
...
|
|