订单列表对接

This commit is contained in:
2022-06-02 20:14:05 +08:00
parent b921bcaa07
commit 5ae2eb3541
9 changed files with 152 additions and 30 deletions
+20
View File
@@ -9,3 +9,23 @@ import { useRequest } from "@/use/useHttp"
method: "post",
})
}
/**
* 解析短码
*/
export const AnalysisShortCodeApi = () => {
return useRequest({
url: `/v1/mall/shortCode`,
method: "get",
})
}
/**
* 绑定上下级
*/
export const BindShortCodeApi = () => {
return useRequest({
url: `/v1/mall/shortCode/bind`,
method: "post",
})
}