client.js 411 B

1234567891011121314151617181920
  1. import request from '@/router/axios';
  2. export const getList = (current, size, params) => {
  3. return request({
  4. url: '/api/blade-client/partsCorps/page',
  5. method: 'get',
  6. params: {
  7. ...params,
  8. current,
  9. size,
  10. }
  11. })
  12. }
  13. export const getCorpsAll = () => {
  14. return request({
  15. url: '/api/blade-client/partsCorps/getCorpsAll',
  16. method: 'get',
  17. })
  18. }