import request from '@/router/axios';

export const getList =
    (current, size, params) => {
      return request({
        url: '/api/jobslink-api/payment/stationAccount/list',
        method: 'get',
        params: {
          ...params,
          current,
          size,
        }
      })
    }

export const getDetail =
    (current, size, params, stationAccountId) => {
      return request({
        url: '/api/jobslink-api/payment/stationAccount/item/list',
        method: 'get',
        params: {...params, current, size, stationAccountId}
      })
    }

export const add = (data) => {
  return request(
      {url: '/api/jobslink-api/system/tuser/manage/submit', method: 'post', data})
}
