From 7eebfc8a64d2cbbd73453a2b653d5a5bfd66a32f Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期四, 16 四月 2026 20:10:44 +0800
Subject: [PATCH] 代码生成

---
 server/web/src/main/java/com/doumee/api/web/ShopInfoApi.java |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/server/web/src/main/java/com/doumee/api/web/ShopInfoApi.java b/server/web/src/main/java/com/doumee/api/web/ShopInfoApi.java
index 0f31c5a..60b5eee 100644
--- a/server/web/src/main/java/com/doumee/api/web/ShopInfoApi.java
+++ b/server/web/src/main/java/com/doumee/api/web/ShopInfoApi.java
@@ -11,10 +11,15 @@
 import com.doumee.dao.dto.ShopInfoMaintainDTO;
 import com.doumee.dao.dto.ShopNearbyDTO;
 import com.doumee.dao.vo.ShopDetailVO;
+import com.doumee.dao.vo.ShopCenterVO;
 import com.doumee.dao.vo.ShopNearbyVO;
 import com.doumee.dao.vo.ShopWebDetailVO;
+import com.doumee.dao.vo.PayResponse;
+import com.doumee.service.business.OrdersService;
 import com.doumee.service.business.ShopInfoService;
 import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiImplicitParam;
+import io.swagger.annotations.ApiImplicitParams;
 import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.validation.annotation.Validated;
@@ -32,6 +37,9 @@
 
     @Autowired
     private ShopInfoService shopInfoService;
+
+    @Autowired
+    private OrdersService ordersService;
 
     @LoginRequired
     @ApiOperation("闂ㄥ簵鍏ラ┗鐢宠/淇敼")
@@ -62,6 +70,16 @@
     }
 
     @LoginShopRequired
+    @ApiOperation("鑾峰彇闂ㄥ簵鐧诲綍鍚庝俊鎭�")
+    @GetMapping("/getShopInfo")
+    @ApiImplicitParams({
+            @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "闂ㄥ簵token鍊�", required = true)
+    })
+    public ApiResponse<ShopCenterVO> getShopInfo() {
+        return ApiResponse.success("鏌ヨ鎴愬姛", shopInfoService.getShopCenterInfo(getShopId()));
+    }
+
+    @LoginShopRequired
     @ApiOperation("缁存姢闂ㄥ簵淇℃伅锛堟敮浠樻娂閲戝悗锛�")
     @PostMapping("/maintain")
     public ApiResponse maintain(@RequestBody ShopInfoMaintainDTO dto) {
@@ -76,4 +94,14 @@
         return ApiResponse.success(shopInfoService.getShopMaintainInfo(this.getMemberId()));
     }
 
+    @LoginShopRequired
+    @ApiOperation("闂ㄥ簵鏀粯鎶奸噾")
+    @PostMapping("/payDeposit")
+    @ApiImplicitParams({
+            @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "闂ㄥ簵token鍊�", required = true)
+    })
+    public ApiResponse<PayResponse> payDeposit() {
+        return ApiResponse.success("鎿嶄綔鎴愬姛", ordersService.payShopDeposit(getShopId()));
+    }
+
 }

--
Gitblit v1.9.3