@Controller public class ProductController extends Object
| 构造器和说明 |
|---|
ProductController() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
addProductJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String invitationCode,
BigDecimal amount,
Integer deadline,
String name,
String idCard,
String mobile,
Long productId)
show 申请产品
|
String |
getProductDetail(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id)
show 产品详情
|
String |
getProductList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer type)
show 产品列表
|
@RequestMapping(value="/a/product/{id}",
method=GET)
public String getProductDetail(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
id - 产品idException - 异常信息@RequestMapping(value="/a/u/product/list",
method=GET)
public String getProductList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer type)
throws Exception
type - 产品类型 1贷款 2信用卡Exception - 异常信息@RequestMapping(value="/a/product",
method=POST)
public String addProductJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String invitationCode,
BigDecimal amount,
Integer deadline,
String name,
String idCard,
String mobile,
Long productId)
throws Exception
invitationCode - 邀请码amount - 额度deadline - 贷款期限name - 姓名idCard - 身份证mobile - 手机号productId - 手机号Exception - 异常信息Copyright © 2018. All rights reserved.