[java]代码库
/********************************** 1 String **************************************/
@RequestMapping(value = "yesPay")
public String yesPay() {
super.getRequest().setAttribute("orderSn", param.get("orderSn")); //数据
return "module/shop/weixin/user/order/order_yespay.jsp";//链接
}
/********************************** 2 ModelAndView **************************************/
@RequestMapping(value = "toPayJSP")
public ModelAndView toPayJSP() {
ModelAndView mav = new ModelAndView(); //
Map<String, Object> result = orderinfo(this.getParam());
mav.addObject("orderinfo", orderinfo);// 订单详情 数据
mav.setViewName("shopOrderWx/orderStepWxPay.jsp?showwxpaytitle=1"); //链接
return mav;
}
/********************************** 3 **************************************/