From 1abee89cd55e34fc51102d23f984e3d56ed01647 Mon Sep 17 00:00:00 2001
From: 罗yu 元桥 <2376770955@qq.com>
Date: 星期五, 30 四月 2021 15:35:36 +0800
Subject: [PATCH] Merge branch 'test' into 'master'

---
 springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java
index b1a147d..b42f3af 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java
@@ -1,6 +1,7 @@
 package com.panzhihua.applets.api;
 
 import com.panzhihua.applets.weixin.CheckService;
+import com.panzhihua.common.constants.Constants;
 import com.panzhihua.common.controller.BaseController;
 import com.panzhihua.common.model.dtos.PageDTO;
 import com.panzhihua.common.model.dtos.community.ComActEasyPhotoCommentDTO;
@@ -319,4 +320,10 @@
     public R detailMessage(@RequestParam("id") Long id){
         return communityService.detailMessage(id);
     }
+
+    @ApiOperation(value = "首页商城开关接口")
+    @GetMapping("isShop")
+    public R isShop(){
+        return R.ok(Constants.IS_SHOP_OPEN);
+    }
 }

--
Gitblit v1.7.1