From 328ac3b6130819a31a7ba2d6af84ceec5c9584bf Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期五, 24 十一月 2023 15:22:38 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java |   10 ++++++++--
 1 files changed, 8 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 e40e26f..29ff48a 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
@@ -15,6 +15,8 @@
 import com.ruoyi.system.api.domain.vo.MgtSimpleShopVo;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.springframework.validation.annotation.Validated;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
@@ -39,6 +41,8 @@
 @RestController
 @RequestMapping("/mgt/shop")
 public class MgtShopController {
+
+    Logger logger = LoggerFactory.getLogger(MgtShopController.class);
 
     @Resource
     private ShopService shopService;
@@ -342,8 +346,8 @@
 
     @RequestMapping(value = "/merchantBasicdataNotify", method = RequestMethod.POST)
     @Log(title = "商户进件回调通知(汇付天下)", businessType = BusinessType.UPDATE,operContent = "商户进件")
-    public void merchantBasicdataNotify(@Validated @RequestBody JSONObject jsonObject, HttpServletResponse response){
-        R<String> r = shopService.merchantBasicdataNotify(jsonObject);
+    public void merchantBasicdataNotify(MerchantBasicDataNotifyDto dto, HttpServletResponse response){
+        R<String> r = shopService.merchantBasicdataNotify(dto);
         if(r.getCode() == 200){
             response.setStatus(200);
             PrintWriter out = null;
@@ -360,6 +364,8 @@
     }
 
 
+
+
     @RequestMapping(value = "/getMgtShopHFTXAuthInfo", method = RequestMethod.POST)
     @ApiOperation(value = "获取商户进件信息(汇付天下)")
     public R<MgtShopHFTXAuthGetVo> getMgtShopHFTXAuthInfo(@Validated @RequestBody MgtShopHFTXAuthGetDto mgtShopHFTXAuthGetDto){

--
Gitblit v1.7.1