mirror of https://github.com/dtm-labs/dtm.git
7 changed files with 34 additions and 7 deletions
@ -1,2 +1,3 @@ |
|||||
VITE_APP_API_BASE_URL="/api" |
VITE_APP_API_BASE_URL="/api" |
||||
VITE_PROXY=[["/api", "http://localhost:36789"]] |
VITE_PROXY=[["/api", "http://localhost:36789"]] |
||||
|
VITE_DASHBOARD_VERSION="v0.0.0-dev" |
||||
|
|||||
@ -0,0 +1,15 @@ |
|||||
|
import { AxiosResponse } from 'axios' |
||||
|
import request from '/@/utils/request' |
||||
|
|
||||
|
export interface IListAllTransactionsReq { |
||||
|
limit: number |
||||
|
position?: number |
||||
|
} |
||||
|
|
||||
|
export function listAllTransactions<T>(payload:IListAllTransactionsReq):Promise<AxiosResponse<T>> { |
||||
|
return request({ |
||||
|
url: '/dtmsvr/all', |
||||
|
method: 'get', |
||||
|
params: payload |
||||
|
}) |
||||
|
} |
||||
|
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in new issue