Ejemplo n.º 1
0
 /**
  * @Description: 跳转到查询页面
  *
  * @param request
  * @return
  * @author 马正正
  * @date 2015年8月19日
  */
 @RequestMapping(value = "init")
 @OpLog(logDesc = "跳转到查询页面")
 public String init(HttpServletRequest request) {
   request.setAttribute("accountTypeCombo", JSONUtils.toCombo(AccountEnum.getDeposit()));
   request.setAttribute("rechargeForwardCombo", JSONUtils.toCombo(RechargeForward.getComb()));
   request.setAttribute("rechargeWayCombo", JSONUtils.toCombo(RechargeWay.getComb()));
   request.setAttribute("accountType", JSONUtils.toJson(AccountEnum.getDeposit()));
   request.setAttribute("rechargeStatus", JSONUtils.toJson(RechargeStatus.getComb()));
   request.setAttribute("rechargeForward", JSONUtils.toJson(RechargeForward.getComb()));
   request.setAttribute("rechargeWay", JSONUtils.toJson(RechargeWay.getComb()));
   return "recharge/init";
 }
Ejemplo n.º 2
0
 /**
  * @Description: 跳转到充值页面
  *
  * @param request
  * @return
  * @author 马正正
  * @date 2015年10月27日
  */
 @RequestMapping(value = "toRecharge")
 @OpLog(logDesc = "跳转到充值页面")
 public String toRecharge(HttpServletRequest request) {
   Map<String, String> accountType = AccountEnum.getDeposit();
   accountType.remove("");
   Map<String, String> rechargeForward = RechargeForward.getComb();
   rechargeForward.remove("");
   request.setAttribute("accountType", JSONUtils.toCombo(accountType));
   request.setAttribute("rechargeForward", JSONUtils.toCombo(rechargeForward));
   request.setAttribute("accountTypeMap", JSONUtils.toJson(accountType));
   request.setAttribute("rechargeForwardMap", JSONUtils.toJson(rechargeForward));
   return "recharge/recharge";
 }