mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
style-guide: https://panjiachen.github.io/vue-element-admin-site/guide/advanced/style-guide.html#style-guide
18 lines
300 B
JavaScript
18 lines
300 B
JavaScript
import request from '@/utils/request'
|
|
|
|
export function searchUser(name) {
|
|
return request({
|
|
url: '/search/user',
|
|
method: 'get',
|
|
params: { name }
|
|
})
|
|
}
|
|
|
|
export function transactionList(query) {
|
|
return request({
|
|
url: '/transaction/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|