zoujiajian 1 rok pred
rodič
commit
b5b28dda71

+ 12 - 0
netflix-web/src/main/java/com/cyksj/web/controller/goods/GoodsDonController.java

@@ -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