摘要: 购物项(Item) (属性) 商品对象(商品的pid也是购物项的主键) product 购买数量(用户输入) count 金额小计(购买数量*商品单价(product.getShop_price)) subtotal = count*product.getPrice() 购物车(cart) (属性) 阅读全文
posted @ 2018-06-11 15:57 andy.cl 阅读(391) 评论(0) 推荐(0) 编辑