🦄 refactor:搜索历史加入购物车100%

This commit is contained in:
Haiyi
2022-09-16 18:08:04 +08:00
parent 7ddb3bf784
commit 9342906c67
16 changed files with 1065 additions and 101 deletions
+7
View File
@@ -38,4 +38,11 @@ export const mppurchaseraddressput = () => {
url: `/v1/mp/purchaser/address`,
method: "put",
})
}
//删除收货地址信息
export const mppurchaseraddressdelect = () => {
return useRequest({
url: `/v1/mp/purchaser/address`,
method: "delete",
})
}
+15 -1
View File
@@ -122,4 +122,18 @@ export const mpsaleOrderaddress = () => {
url: `/v1/mp/saleOrder/address`,
method: "put",
})
}
}
//关键字搜索历史
export const mpsearchHistorylist = () => {
return useRequest({
url: `/v1/mp/searchHistory/list`,
method: "get",
})
}
//添加关键字搜索
export const mpsearchHistory = () => {
return useRequest({
url: `/v1/mp/searchHistory`,
method: "post",
})
}