Parcourir la source

微信支付通知回调响应修改

zuy il y a 2 ans
Parent
commit
583216967a

+ 2 - 0
miniapp/src/main/java/com/kym/miniapp/controller/PaymentController.java

@@ -10,6 +10,7 @@ import jakarta.servlet.http.HttpServletResponse;
 import lombok.SneakyThrows;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
+import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
@@ -24,6 +25,7 @@ import java.util.Map;
  * @description
  * @date 2023-07-22 20:36
  */
+@Controller
 @RequestMapping("/payment")
 public class PaymentController {
     private Logger logger = LoggerFactory.getLogger(PaymentController.class);