@@ -87,4 +87,15 @@ public class FavoriteController {
}
return null;
+
+ /**
+ * 查询用户收藏商品列表
+ *
+ * @return 用户收藏信息列表
+ */
+ @GetMapping("/favorites/goods")
+ public List<FavoriteDTO> listUserFavoritesGoods() {
+ // 查询收藏的店铺
+ return this.favoriteService.listFavoriteGoods();
+ }
@@ -50,7 +50,7 @@ public class MerchantController {
* @param param 查询参数
* @return 商家信息列表
*/
- @GetMapping("/merchants")
+ @GetMapping("/merchantSort")
public List<SimpleMerchantVO> listSimpleMerchants(@Valid MerchantQueryParam param) {
return MerchantCopier.INSTANCE.copying(this.merchantService.listSimpleMerchants(param));