Blame view

src/api/remote-search.js 336 Bytes
d7d9c38c2   Adam   auto commit the c...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  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
    })
  }