Quellcode durchsuchen

web-api, /package/<pid>, return goods

xuchaolang vor 6 Jahren
Ursprung
Commit
42d7a7fde9

+ 1 - 0
rankin-api-web/src/main/java/cn/rankin/apiweb/controller/PackageController.java

@@ -52,6 +52,7 @@ public class PackageController {
         data.put("name", pkg.getName());
         data.put("code", pkg.getCode());
         data.put("type", pkg.getType());
+        data.put("goods",product.getGoods());
         data.put("totalNum", Optional.ofNullable(pkg.getChildrens()).map(v->v.size()).orElse(0));
         data.put("recs", pkg.getChildrens());