From 1a6905045d38bb50b0c6554c3440bdfd339c8d23 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 30 七月 2024 19:13:46 +0800
Subject: [PATCH] ‘’

---
 wechat_staff/api/index.js |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/wechat_staff/api/index.js b/wechat_staff/api/index.js
index 73a6bac..c7d07d3 100644
--- a/wechat_staff/api/index.js
+++ b/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}) ;
+  }
+  
 }
\ No newline at end of file

--
Gitblit v1.9.3