From f2f07f9c707dc4793c42c90c4039b41a59c3d0f2 Mon Sep 17 00:00:00 2001 From: jiangqs <jiangqs> Date: 星期一, 26 六月 2023 19:51:23 +0800 Subject: [PATCH] 商户端和管理台联调bug --- ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 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 53b9351..3faacd8 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 @@ -48,7 +48,7 @@ private ShopCertificateService shopCertificateService; @RequestMapping(value = "/listMgtShopSimpleVo", method = RequestMethod.POST) - @ApiOperation(value = "分页获取商户列表") + @ApiOperation(value = "获取简易商户列表") public R<List<MgtShopListSimpleVo>> listMgtShopSimpleVo(@RequestBody MgtShopListDto mgtShopListDto) { List<MgtShopListSimpleVo> mgtShopListSimpleVoList = shopService.listMgtShopSimpleVo(mgtShopListDto); return R.ok(mgtShopListSimpleVoList); @@ -240,4 +240,18 @@ shopService.mgtShopAuth(mgtShopAuthDto); return R.ok(); } + + @RequestMapping(value = "/getMgtShopAuth", method = RequestMethod.POST) + @ApiOperation(value = "获取商户进件信息") + public R<MgtShopAuthGetVo> getMgtShopAuth(@RequestBody MgtShopAuthGetDto mgtShopAuthGetDto) { + MgtShopAuthGetVo shopAuthGetVo = shopService.getMgtShopAuth(mgtShopAuthGetDto.getAuthId()); + return R.ok(shopAuthGetVo); + } + + @RequestMapping(value = "/getMgtShopAuthCode", method = RequestMethod.POST) + @ApiOperation(value = "获取商户进件信息") + public R<MgtShopAuthCodeVo> getMgtShopAuthCode(@RequestBody MgtShopAuthGetDto mgtShopAuthGetDto) { + MgtShopAuthCodeVo mgtShopAuthCodeVo = shopService.getMgtShopAuthCode(mgtShopAuthGetDto.getAuthId()); + return R.ok(mgtShopAuthCodeVo); + } } -- Gitblit v1.7.1