瀏覽代碼

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

xuchaolang 6 年之前
父節點
當前提交
42d7a7fde9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      rankin-api-web/src/main/java/cn/rankin/apiweb/controller/PackageController.java

+ 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());