remote-search.js
306 Bytes
import request from '@/utils/request'
export function searchUser(name) {
return request({
url: '/yp/search/user',
method: 'get',
params: { name }
})
}
export function transactionList(query) {
return request({
url: '/yp/transaction/list',
method: 'get',
params: query
})
}