后端:增加商品修改时,发送 MQ 消息
后端:增加搜索服务,监听 MQ 消息,建立商品索引
This commit is contained in:
@@ -14,3 +14,13 @@ export function getProductPage({cid, keyword, pageNo, pageSize, sortField, sortO
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
export function getProductCondition({keyword}) {
|
||||
return request({
|
||||
url: '/search-api/users/product/condition',
|
||||
method: 'get',
|
||||
params: {
|
||||
keyword,
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user