From 32bd52ec49d25021b6a35d8ee5f32c70df788165 Mon Sep 17 00:00:00 2001 From: jiangqs <jiangqs> Date: 星期三, 05 七月 2023 21:30:21 +0800 Subject: [PATCH] bug 用户端 --- ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java index d378a00..1c70932 100644 --- a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java +++ b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java @@ -69,7 +69,7 @@ @RequestMapping(value = "/exportPageMgtShop", method = RequestMethod.POST) @ApiOperation(value = "导出商户列表") - public void exportPageMgtShop(@RequestBody MgtShopPageDto mgtShopPageDto, HttpServletResponse response) { + public void exportPageMgtShop(MgtShopPageDto mgtShopPageDto, HttpServletResponse response) { Page<MgtShopPageVo> page = new Page<>(); page.setSize(2000); page.setCurrent(1); @@ -107,6 +107,14 @@ @ApiOperation(value = "修改商户标签") public R editMgtShopTag(@RequestBody MgtEditShopTagDto mgtEditShopTagDto) { shopService.editShopTag(mgtEditShopTagDto); + return R.ok(); + } + + @RequestMapping(value = "/transferMgtShop", method = RequestMethod.POST) + @Log(title = "商户管理", businessType = BusinessType.UPDATE,operContent = "转移客户") + @ApiOperation(value = "转移客户") + public R transferMgtShop(@RequestBody MgtTransferShopDto mgtTransferShopDto) { + shopService.transferMgtShop(mgtTransferShopDto); return R.ok(); } @@ -163,7 +171,7 @@ @RequestMapping(value = "/exportPageMgtShopSuggest", method = RequestMethod.POST) @ApiOperation(value = "导出商户建议列表") - public void exportPageMgtShopSuggest(@RequestBody MgtShopSuggestPageDto mgtShopSuggestPageDto, HttpServletResponse response) { + public void exportPageMgtShopSuggest(MgtShopSuggestPageDto mgtShopSuggestPageDto, HttpServletResponse response) { Long userId = SecurityUtils.getUserId(); mgtShopSuggestPageDto.setUserId(userId); Page<MgtShopSuggestPageVo> page = new Page<>(); @@ -266,4 +274,6 @@ MgtShopAuthCodeVo mgtShopAuthCodeVo = shopService.getMgtShopAuthCode(mgtShopAuthGetDto.getAuthId()); return R.ok(mgtShopAuthCodeVo); } + + } -- Gitblit v1.7.1