From 020b6c18958b795afa3fad9897d030fd01df3f57 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期五, 13 十月 2023 12:44:25 +0800 Subject: [PATCH] 对接第三方分账接口 --- ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 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 735cd40..23bd684 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 @@ -281,6 +281,19 @@ return R.ok(); } + + @RequestMapping(value = "/mgtShopHFTXAuth", method = RequestMethod.POST) + @Log(title = "商户进件管理", businessType = BusinessType.UPDATE,operContent = "商户进件") + @ApiOperation(value = "平台商户进件") + public R mgtShopHFTXAuth(@Validated @RequestBody MgtShopHFTXAuthDto mgtShopAuthDto) { + Long userId = SecurityUtils.getUserId(); + mgtShopAuthDto.setUserId(userId); + shopService.mgtShopHFTXAuth(mgtShopAuthDto); + return R.ok(); + } + + + @RequestMapping(value = "/getMgtShopAuth", method = RequestMethod.POST) @ApiOperation(value = "获取商户进件信息") public R<MgtShopAuthGetVo> getMgtShopAuth(@RequestBody MgtShopAuthGetDto mgtShopAuthGetDto) { @@ -295,13 +308,17 @@ return R.ok(mgtShopAuthCodeVo); } - @RequestMapping(value = "/mgtShopAuth", method = RequestMethod.POST) - @Log(title = "商户进件管理", businessType = BusinessType.UPDATE,operContent = "商户进件") - @ApiOperation(value = "平台商户进件") - public R mgtShopAuth(@RequestBody MgtShopAuthGetDto mgtShopAuthGetDto){ + @RequestMapping(value = "/mgtAddProfitSharingReceiver", method = RequestMethod.POST) + @Log(title = "商户进件管理", businessType = BusinessType.UPDATE,operContent = "商户添加分账方") + @ApiOperation(value = "平台商户添加分账方") + public R mgtAddProfitSharingReceiver(@RequestBody MgtShopAuthGetDto mgtShopAuthGetDto){ Long userId = SecurityUtils.getUserId(); mgtShopAuthGetDto.setUserId(userId); shopService.addProfitSharingReceiver(mgtShopAuthGetDto); return R.ok(); } + + + + } -- Gitblit v1.7.1