合并分支

This commit is contained in:
2022-06-07 17:28:41 +08:00
84 changed files with 3722 additions and 195 deletions
+31
View File
@@ -0,0 +1,31 @@
import { useRequest } from "@/use/useHttp"
/**
* 分享短码
*/
export const GetShortCodeApi = () => {
return useRequest({
url: `/v1/mall/shortCode/add`,
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",
})
}