Refactor(商品详情):规格是否无库存通过接口查询

This commit is contained in:
lifizer
2024-09-24 21:47:57 +08:00
parent ff93f79a18
commit 6ecc996e8b
3 changed files with 68 additions and 47 deletions
+2 -2
View File
@@ -28,8 +28,8 @@ export function getProductDetail(id, data) {
/*
* 商品规格选中
* */
export function getProductSkuBySelected(id, data) {
return request.get("api/product/getSkuBySelected/" + id, data, {
export function getProductSkuBySelected(data) {
return request.post("/product/getSkuBySelected", data, {
login: true
});
}