{"size": 978, "ext": "js", "max_stars_repo_path": "src/api/budget/budgetincome.js", "max_stars_repo_name": "gzy2019/qhdxtrunk", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/api/budget/budgetincome.js", "max_issues_repo_name": "gzy2019/qhdxtrunk", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/api/budget/budgetincome.js", "max_forks_repo_name": "gzy2019/qhdxtrunk", "max_forks_repo_forks_event_min_datetime": "2020-02-19T09:06:14.000Z", "max_forks_repo_forks_event_max_datetime": "2020-02-19T09:06:14.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 20.375, "max_line_length": 45, "alphanum_fraction": 0.5593047035}
import axios from '@/libs/api.request'

const api = {
  getBudgetIncomeDataList: (obj) => {
    return axios.request({
      url: '/budget/budgetincome/data/list',
      params: obj,
      method: 'get'
    })
  },
  getBudgetIncomeList: (obj) => {
    return axios.request({
      url: '/budget/budgetincome/list',
      params: obj,
      method: 'get'
    })
  },
  getBudgetIncomeInfo: (id) => {
    return axios.request({
      url: `/budget/budgetincome/info/${id}`,
      method: 'get'
    })
  },
  saveBudgetIncome: (obj) => {
    return axios.request({
      url: '/budget/budgetincome/save',
      data: obj,
      method: 'post'
    })
  },
  updateBudgetIncome: (obj) => {
    return axios.request({
      url: '/budget/budgetincome/update',
      data: obj,
      method: 'post'
    })
  },
  deleteBudgetIncome: (obj) => {
    return axios.request({
      url: '/budget/budgetincome/delete',
      data: obj,
      method: 'post'
    })
  }
}

export default api
