|
@@ -59,12 +59,14 @@ public class ProductController {
|
|
|
tmp.put("id", content.getPid());
|
|
|
tmp.put("name", content.getName());
|
|
|
tmp.put("type", content.getType());
|
|
|
+ tmp.put("code", content.getCode());
|
|
|
lightProducts.add(tmp);
|
|
|
}
|
|
|
|
|
|
Map<String, Object> rec = new HashMap<String, Object>();
|
|
|
rec.put("id", pkg.getPid());
|
|
|
rec.put("name", pkg.getName());
|
|
|
+ rec.put("code", pkg.getCode());
|
|
|
rec.put("goods", pkg.getGoods());
|
|
|
rec.put("recs", lightProducts);
|
|
|
|