IntegralWechatHandler.java 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. package com.iamberry.wechat.handles.wx;
  2. import java.io.IOException;
  3. import javax.servlet.ServletException;
  4. import javax.servlet.http.HttpServletRequest;
  5. import javax.servlet.http.HttpServletResponse;
  6. import org.springframework.stereotype.Controller;
  7. import org.springframework.web.bind.annotation.RequestMapping;
  8. /**
  9. * 积分 跳转页面
  10. * 2016年4月26日
  11. * @author Administrator
  12. *
  13. */
  14. @Controller
  15. @RequestMapping("/wechat/integralWechat")
  16. public class IntegralWechatHandler {
  17. /**
  18. * 积分记录 跳转
  19. * 2016年4月26日
  20. * @param req
  21. * @param res
  22. */
  23. @RequestMapping("/log")
  24. public void getIntegralList(HttpServletRequest req,HttpServletResponse res){
  25. try {
  26. req.getRequestDispatcher("/WEB-INF/views/wechat/jifen_log.html").forward(req,res);
  27. } catch (IOException e) {
  28. e.printStackTrace();
  29. } catch (ServletException e) {
  30. // TODO Auto-generated catch block
  31. e.printStackTrace();
  32. }
  33. }
  34. /**
  35. * 积分规则页面 跳转
  36. * /integralWechat/integralRule
  37. * 2016年4月26日
  38. * @author 穆再兴
  39. * @param req
  40. * @param res
  41. */
  42. @RequestMapping("/integralRule")
  43. public void toIntegralRule(HttpServletRequest req,HttpServletResponse res){
  44. try {
  45. req.getRequestDispatcher("/WEB-INF/views/wechat/fenxiao_guize.html").forward(req,res);
  46. } catch (IOException e) {
  47. e.printStackTrace();
  48. } catch (ServletException e) {
  49. // TODO Auto-generated catch block
  50. e.printStackTrace();
  51. }
  52. }
  53. /**
  54. * 微代理积分提现记录
  55. * 2016年4月27日
  56. * @author 欧阳明
  57. */
  58. @RequestMapping("/withdrawLog")
  59. public void toAgentFXRule(HttpServletRequest req,HttpServletResponse res){
  60. try {
  61. req.getRequestDispatcher("/WEB-INF/views/wechat/tixian_log.html").forward(req,res);
  62. } catch (IOException e) {
  63. e.printStackTrace();
  64. } catch (ServletException e) {
  65. // TODO Auto-generated catch block
  66. e.printStackTrace();
  67. }
  68. }
  69. /**
  70. * 提现规则页面
  71. * 2016年4月28日
  72. * @author 穆再兴
  73. * @param req
  74. * @param res
  75. */
  76. @RequestMapping("/withdrawRule")
  77. public void toWithdrawRule(HttpServletRequest req,HttpServletResponse res){
  78. try {
  79. req.getRequestDispatcher("/WEB-INF/views/wechat/tixian_guize.html").forward(req,res);
  80. } catch (IOException e) {
  81. e.printStackTrace();
  82. } catch (ServletException e) {
  83. // TODO Auto-generated catch block
  84. e.printStackTrace();
  85. }
  86. }
  87. }