ソースを参照

bugfix:打卡店铺跳转

lyx 21 時間 前
コミット
859f0009ee

+ 8 - 0
alien-store/src/main/java/shop/alien/store/service/LifeUserStoreService.java

@@ -134,6 +134,14 @@ public class LifeUserStoreService {
                 storeMap.put("businessStatus", store.getBusinessStatus());
                 storeMap.put("businessStatusStr", store.getBusinessStatusStr());
 
+                String businessSectionName = store.getBusinessSectionName();
+                if(Arrays.asList("酒吧", "KTV", "洗浴汗蒸", "按摩足疗").contains(businessSectionName)){
+                    storeMap.put("storeTypeNew", 1);
+                } else if (Arrays.asList("丽人美发", "运动健身").contains(businessSectionName)){
+                    storeMap.put("storeTypeNew", 2);
+                } else if (Arrays.asList("特色美食").contains(businessSectionName)){
+                    storeMap.put("storeTypeNew", 3);
+                }
                 //474bug
                 storeMap.put("businessSection", store.getBusinessSection());
                 storeMap.put("businessSectionName", store.getBusinessSectionName());