1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-05 11:18:42 +08:00
vue-element-admin/src/api/remote-search.js
花裤衩 c9affcf2ad
fix: fixed mock server (#2929)
* init

* refine

* update
2020-01-09 17:21:36 +08:00

18 lines
336 B
JavaScript

import request from '@/utils/request'
export function searchUser(name) {
return request({
url: '/vue-element-admin/search/user',
method: 'get',
params: { name }
})
}
export function transactionList(query) {
return request({
url: '/vue-element-admin/transaction/list',
method: 'get',
params: query
})
}