|
|
@@ -1299,6 +1299,18 @@ public class GoodsDonController {
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(search);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取所有平台列表
|
|
|
+ */
|
|
|
+ @GetMapping("/get/goods")
|
|
|
+ public Result<List<GoodsDon>> getAllGoodsList() {
|
|
|
+ List<GoodsDon> goodsDons = beanSearcher.searchAll(GoodsDon.class, MapUtils.flatBuilder(request.getParameterMap()).field(GoodsDon::getStatus, 1)
|
|
|
+ .onlySelect(GoodsDon::getId, GoodsDon::getTitle)
|
|
|
+ .build());
|
|
|
+ return GatewayResponse.SUCCESS.newBuilder().toResult(goodsDons);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 获取平台销量
|
|
|
* @param goodsId
|