From 62e6b01e151c3226084f6cb2485f18e22bb10748 Mon Sep 17 00:00:00 2001
From: shiyj1101 <1098226878@qq.com>
Date: 星期三, 11 八月 2021 00:55:57 +0800
Subject: [PATCH] 弹二维码

---
 service-front/src/main/java/com/java110/front/controller/app/PaymentController.java |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/service-front/src/main/java/com/java110/front/controller/app/PaymentController.java b/service-front/src/main/java/com/java110/front/controller/app/PaymentController.java
index c0a2425..e93c4cb 100755
--- a/service-front/src/main/java/com/java110/front/controller/app/PaymentController.java
+++ b/service-front/src/main/java/com/java110/front/controller/app/PaymentController.java
@@ -63,6 +63,10 @@
 
     @Autowired
     private IToQrPayOweFeeSMO toQrPayOweFeeSMOImpl;
+    @Autowired
+    private IToPayInGoOutSMO toPayInGoOutSMOImpl;
+    @Autowired
+    private IToPayBackCitySMO toPayBackCitySMOImpl;
 
     /**
      * <p>缁熶竴涓嬪崟鍏ュ彛</p>
@@ -111,6 +115,46 @@
      * @param request
      * @throws Exception
      */
+    @RequestMapping(path = "/toQrInGoOutPay", method = RequestMethod.POST)
+    public ResponseEntity<String> toQrInGoOutPay(@RequestBody String postInfo, HttpServletRequest request) {
+        IPageData pd = (IPageData) request.getAttribute(CommonConstant.CONTEXT_PAGE_DATA);
+        /*IPageData pd = (IPageData) request.getAttribute(CommonConstant.CONTEXT_PAGE_DATA);*/
+        String appId = request.getHeader("APP_ID");
+        if (StringUtil.isEmpty(appId)) {
+            appId = request.getHeader("APP-ID");
+        }
+
+        IPageData newPd = PageData.newInstance().builder(pd.getUserId(), pd.getUserName(), pd.getToken(), postInfo,
+                "", "", "", pd.getSessionId(),
+                appId);
+        return toPayInGoOutSMOImpl.toPay(newPd);
+    }
+    /**
+     * <p>缁熶竴涓嬪崟鍏ュ彛</p>
+     *
+     * @param request
+     * @throws Exception
+     */
+    @RequestMapping(path = "/toQrBackCityPay", method = RequestMethod.POST)
+    public ResponseEntity<String> toQrBackCityPay(@RequestBody String postInfo, HttpServletRequest request) {
+        IPageData pd = (IPageData) request.getAttribute(CommonConstant.CONTEXT_PAGE_DATA);
+        /*IPageData pd = (IPageData) request.getAttribute(CommonConstant.CONTEXT_PAGE_DATA);*/
+        String appId = request.getHeader("APP_ID");
+        if (StringUtil.isEmpty(appId)) {
+            appId = request.getHeader("APP-ID");
+        }
+
+        IPageData newPd = PageData.newInstance().builder(pd.getUserId(), pd.getUserName(), pd.getToken(), postInfo,
+                "", "", "", pd.getSessionId(),
+                appId);
+        return toPayBackCitySMOImpl.toPay(newPd);
+    }
+    /**
+     * <p>缁熶竴涓嬪崟鍏ュ彛</p>
+     *
+     * @param request
+     * @throws Exception
+     */
     @RequestMapping(path = "/toPayTempCarInout", method = RequestMethod.POST)
     public ResponseEntity<String> toPayTempCarInout(@RequestBody String postInfo, HttpServletRequest request) {
         IPageData pd = (IPageData) request.getAttribute(CommonConstant.CONTEXT_PAGE_DATA);

--
Gitblit v1.8.0