作者 何书鹏

api更新

@@ -76,7 +76,8 @@ class Classification extends Api @@ -76,7 +76,8 @@ class Classification extends Api
76 "goods_name": "小米Mix3", 76 "goods_name": "小米Mix3",
77 "price": "100.00", 77 "price": "100.00",
78 "line_price": "1000.00",划线价 78 "line_price": "1000.00",划线价
79 - "image_text": "图片路径" 79 + "image_text": "图片路径",
  80 + "stock_num": 68, 商品总库存
80 } 81 }
81 ] 82 ]
82 }, 83 },
@@ -137,6 +137,7 @@ class Index extends Api @@ -137,6 +137,7 @@ class Index extends Api
137 "price": "100.00", 价格 137 "price": "100.00", 价格
138 "line_price": "1000.00", 划线价 138 "line_price": "1000.00", 划线价
139 "image_text": "图片地址" 139 "image_text": "图片地址"
  140 + "stock_num": 68, 商品总库存
140 } 141 }
141 ] 142 ]
142 }) 143 })
@@ -57,6 +57,7 @@ class Order extends Api @@ -57,6 +57,7 @@ class Order extends Api
57 "total_num": 0, 数量 57 "total_num": 0, 数量
58 "total_price": "0.00", 价格 58 "total_price": "0.00", 价格
59 "image_text": "" 图片 59 "image_text": "" 图片
  60 + "stock_num": 68, 商品总库存
60 }], 61 }],
61 "createtime_text": "" 时间 62 "createtime_text": "" 时间
62 } 63 }