Blame view

src/api/remote-search.js 306 Bytes
d7d9c38c2   Adam   auto commit the c...
1
2
3
4
  import request from '@/utils/request'
  
  export function searchUser(name) {
    return request({
50760eab9   Adam   auto commit the c...
5
      url: '/yp/search/user',
d7d9c38c2   Adam   auto commit the c...
6
7
8
9
10
11
12
      method: 'get',
      params: { name }
    })
  }
  
  export function transactionList(query) {
    return request({
50760eab9   Adam   auto commit the c...
13
      url: '/yp/transaction/list',
d7d9c38c2   Adam   auto commit the c...
14
15
16
17
      method: 'get',
      params: query
    })
  }