refactor: 更新API路径以使用buyer API

This commit is contained in:
pikachu1995@126.com
2026-07-13 16:51:57 +08:00
parent 4d0b0fb5e4
commit 3ec61f41bc
6 changed files with 23 additions and 29 deletions

View File

@@ -15,11 +15,11 @@ import { http, Method } from "@/utils/request.js";
}
/**
* 从ES中获取相关商品品牌名称分类名称及属性
* 获取商品搜索筛选条件
*/
export function getGoodsRelated(params) {
return http.request({
url: `/goods/goods/es/related`,
url: `/goods/goods/search/related`,
method: Method.GET,
params,
});
@@ -56,7 +56,7 @@ export function getGoodsRelated(params) {
*/
export function getGoodsList(params) {
return http.request({
url: "/goods/goods/es",
url: "/goods/goods/search",
method: Method.GET,
params,
});