mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增动态预览功能
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user