feat: 新增动态预览功能

This commit is contained in:
奔跑的面条
2022-06-01 22:19:03 +08:00
parent 82394dd7a3
commit bc44584698
7 changed files with 152 additions and 112 deletions
+9
View File
@@ -12,6 +12,15 @@ export const loginApi = async (data: object) => {
}
}
// * 新接口
export const newApi = async (data: object) => {
try {
const resonse = await http(RequestHttpEnum.POST)(`新接口的路劲/xxx/xxx`, data)
} catch (error) {
httpErrorHandle();
}
}
// * 登出
export const logoutApi = async () => {
try {