--对接地址列表

This commit is contained in:
li tong bao
2022-05-12 09:57:28 +08:00
parent 45e50a6a79
commit fcb9caa221
21 changed files with 241 additions and 3792 deletions
+23
View File
@@ -0,0 +1,23 @@
import { useRequest } from "@/use/useHttp"
/**
* 获取地址列表
* @returns
*/
export const addressListApi = () => {
return useRequest({
url: `/v1/mall/address/list`,
method: "get",
})
}
/**
* 添加地址
* @returns
*/
export const addressAddApi = () => {
return useRequest({
url: `/lymarket/v1/mall/address`,
method: "post",
})
}