mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 新增mock数据请求功能
This commit is contained in:
+1
-2
@@ -1,11 +1,10 @@
|
||||
import axiosInstance from './axios'
|
||||
import { RequestHttpEnum, ContentTypeEnum } from '@/enums/httpEnum'
|
||||
|
||||
export const get = (url: string, params: object) => {
|
||||
export const get = (url: string) => {
|
||||
return axiosInstance({
|
||||
url: url,
|
||||
method: RequestHttpEnum.GET,
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user