电商项目—收货地址管理模块开发

功能介绍:添加地址、删除地址、更新地址、地址列表、地址分页、地址详情

学习目标:

spingmvc数据绑定中兑现给绑定

mybatis自动生成主键、配置和使用

如何避免横向越权漏洞的巩固

接口设计:

  • 添加地址

request:userId,receiverName,receiverPhone,receiverMobile,receiverProvince,receiverCity,receiverDistrict,receiverAddress,receiverZip

response:success

  • 删除地址

request:shippingId

response:success

  • 登录状态更新地址

request:Id,receiverName,receiverPhone,receiverMobile,receiverProvince,receiverCity,receiverDistrict,receiverAddress,receiverZip

response:success

选中查看具体的地址

request:shippingId

response:success

  • 地址列表

request:pageNum,pageSize

response:success

 

 

 

 

你可能感兴趣的:(java)