|
@@ -0,0 +1,24 @@
|
|
|
|
+package com.iamberry.wechat.handles.wx;
|
|
|
|
+
|
|
|
|
+import org.springframework.stereotype.Controller;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
+import org.springframework.web.servlet.ModelAndView;
|
|
|
|
+
|
|
|
|
+import javax.servlet.ServletException;
|
|
|
|
+import javax.servlet.http.HttpServletRequest;
|
|
|
|
+import javax.servlet.http.HttpServletResponse;
|
|
|
|
+import java.io.IOException;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * Created by Administrator on 2017/12/29.
|
|
|
|
+ */
|
|
|
|
+@Controller
|
|
|
|
+@RequestMapping("/wechat")
|
|
|
|
+public class QrCodeHandler {
|
|
|
|
+
|
|
|
|
+ @RequestMapping("/qr")
|
|
|
|
+ public void getQrCode(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException {
|
|
|
|
+ req.getRequestDispatcher("/WEB-INF/views/wechat/daili_order_list.html").forward(req,res);
|
|
|
|
+ }
|
|
|
|
+}
|