wechat_staff/api/index.js
@@ -196,6 +196,13 @@ data }) } // 获取门店详情 export const loadShopList= (data) => { return request({ url: '/web/personnel/userShopList', data }) } // 我的 收藏/喜欢列表 export const collectLikePage = (data) => { return request({ @@ -331,4 +338,12 @@ if(child){ child.freshData(); } var {info} = obj.data ; if(info){ const enjoyList = wx.getStorageSync('enjoyList') || []; const index = enjoyList.findIndex( i => i.id === info.id ); info.isEnjoy = index > -1; obj.setData({ info:info}) ; } }