|
@@ -9,6 +9,7 @@ import com.chelvc.cloud.maintain.copier.GoodsCopier;
|
|
|
import com.chelvc.cloud.maintain.vo.SimpleGoodsVO;
|
|
|
import com.chelvc.cloud.vehicle.client.FavoriteClient;
|
|
|
import com.chelvc.cloud.vehicle.client.GoodsClient;
|
|
|
+import com.chelvc.cloud.vehicle.client.dto.GoodsDTO;
|
|
|
import com.chelvc.cloud.vehicle.client.dto.GoodsDetailDTO;
|
|
|
import com.chelvc.cloud.vehicle.client.param.GoodsQueryParam;
|
|
|
import com.chelvc.framework.base.annotation.ResponseWrapping;
|
|
@@ -78,9 +79,9 @@ public class GoodsController {
|
|
|
* @param param 商品信息
|
|
|
* @return 商家端商品信息
|
|
|
*/
|
|
|
- @PostMapping("/merchant/goodsList")
|
|
|
- public Map<String, Object> getMerchantGoodsList(@RequestBody @Valid GoodsQueryParam param) {
|
|
|
- return this.goodsClient.getCategoryAndGoods(param);
|
|
|
+ @PostMapping("/merchant/getMerchantGoodsList")
|
|
|
+ public List<GoodsDTO> getMerchantGoodsList(@RequestBody @Valid GoodsQueryParam param) {
|
|
|
+ return this.goodsClient.getMerchantGoodsList(param);
|
|
|
}
|
|
|
|
|
|
|