@Controller(value="peopleAddress") @RequestMapping(value="/people/address") public class PeopleAddressAction extends BaseAction
| 构造器和说明 |
|---|
PeopleAddressAction() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
delete(PeopleAddressEntity peopleAddress,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
根据收货地址id删除收货信息
|
void |
get(PeopleAddressEntity peopleAddress,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
通过peopleAddressId查询用户收货地址实体
|
void |
list(PeopleAddressEntity peopleAddress,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
用户收货地址列表
返回
[{ peopleAddressId:"自增长编号" "peopleAddressConsigneeName": "收货人姓名" "peopleAddressAddress": "地址" "peopleAddressPhone": "手机号" "peopleAddressMail": "邮箱" "peopleAddressProvince": "省" "peopleAddressCity": "城市" "peopleAddressDistrict": "县/区" "peopleAddressStreet": "街道" "peopleAddressDefault": 1默认 0非默认 }] |
void |
save(PeopleAddressEntity peopleAddress,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
保存用户收货地址
|
void |
setDefault(PeopleAddressEntity peopleAddress,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
设置默认地址
|
void |
update(PeopleAddressEntity peopleAddress,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
更新用户收货地址
|
getPeopleBySession, getPeopleBySession, getResString, getResString, removePeopleBySession, setPeopleBySessioncheckRandCode, checkRandCode, decryptByAES, encryptByAES, getApp, getAppId, getBasicModelCode, getCategoryModelCode, getCodeBySession, getHistoryPageNoByCookie, getManagerBySession, getManagerId, getModelCodeId, getModelCodeId, getModelCodeId, getModelCodeIdForAES, getRandCode, getRootModelCodeId, isSystemManager, redirectBack, removeUrlParams, view@GetMapping(value="/list")
public void list(@ModelAttribute
PeopleAddressEntity peopleAddress,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
@PostMapping(value="/save")
public void save(@ModelAttribute
PeopleAddressEntity peopleAddress,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
peopleAddress - 地址信息@PostMapping(value="/update")
public void update(@ModelAttribute
PeopleAddressEntity peopleAddress,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
peopleAddress - 地址信息@PostMapping(value="/setDefault")
public void setDefault(@ModelAttribute
PeopleAddressEntity peopleAddress,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
peopleAddress - 地址信息@PostMapping(value="/delete")
public void delete(@ModelAttribute
PeopleAddressEntity peopleAddress,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
peopleAddress - 地址信息@GetMapping(value="/get")
public void get(@ModelAttribute
PeopleAddressEntity peopleAddress,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
peopleAddress - 地址信息Copyright © 2019. All rights reserved.