--对接地址新增编辑

This commit is contained in:
li tong bao
2022-05-12 11:28:53 +08:00
parent 6bf2fc3391
commit 85641b3113
4 changed files with 95 additions and 35 deletions
+12 -1
View File
@@ -17,7 +17,18 @@ import { useRequest } from "@/use/useHttp"
*/
export const addressAddApi = () => {
return useRequest({
url: `/lymarket/v1/mall/address`,
url: `/v1/mall/address`,
method: "post",
})
}
/**
* 地址详情
* @returns
*/
export const addressDetailApi = () => {
return useRequest({
url: `/v1/mall/address`,
method: "get",
})
}