IntegralWechatHandler.java 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. @Deprecated
  15. @Controller
  16. @RequestMapping("/wechat/integralWechat")
  17. public class IntegralWechatHandler {
  18. /**
  19. * 积分记录 跳转
  20. * 2016年4月26日
  21. * @param req
  22. * @param res
  23. */
  24. @RequestMapping("/log")
  25. public void getIntegralList(HttpServletRequest req,HttpServletResponse res){
  26. try {
  27. req.getRequestDispatcher("/WEB-INF/views/wechat/jifen_log.html").forward(req,res);
  28. } catch (IOException e) {
  29. e.printStackTrace();
  30. } catch (ServletException e) {
  31. // TODO Auto-generated catch block
  32. e.printStackTrace();
  33. }
  34. }
  35. /**
  36. * 积分规则页面 跳转
  37. * /integralWechat/integralRule
  38. * 2016年4月26日
  39. * @author 穆再兴
  40. * @param req
  41. * @param res
  42. */
  43. @RequestMapping("/integralRule")
  44. public void toIntegralRule(HttpServletRequest req,HttpServletResponse res){
  45. try {
  46. req.getRequestDispatcher("/WEB-INF/views/wechat/fenxiao_guize.html").forward(req,res);
  47. } catch (IOException e) {
  48. e.printStackTrace();
  49. } catch (ServletException e) {
  50. // TODO Auto-generated catch block
  51. e.printStackTrace();
  52. }
  53. }
  54. /**
  55. * 微代理积分提现记录
  56. * 2016年4月27日
  57. * @author 欧阳明
  58. */
  59. @RequestMapping("/withdrawLog")
  60. public void toAgentFXRule(HttpServletRequest req,HttpServletResponse res){
  61. try {
  62. req.getRequestDispatcher("/WEB-INF/views/wechat/tixian_log.html").forward(req,res);
  63. } catch (IOException e) {
  64. e.printStackTrace();
  65. } catch (ServletException e) {
  66. // TODO Auto-generated catch block
  67. e.printStackTrace();
  68. }
  69. }
  70. /**
  71. * 提现规则页面
  72. * 2016年4月28日
  73. * @author 穆再兴
  74. * @param req
  75. * @param res
  76. */
  77. @RequestMapping("/withdrawRule")
  78. public void toWithdrawRule(HttpServletRequest req,HttpServletResponse res){
  79. try {
  80. req.getRequestDispatcher("/WEB-INF/views/wechat/tixian_guize.html").forward(req,res);
  81. } catch (IOException e) {
  82. e.printStackTrace();
  83. } catch (ServletException e) {
  84. // TODO Auto-generated catch block
  85. e.printStackTrace();
  86. }
  87. }
  88. }