{"size": 647, "ext": "js", "max_stars_repo_path": "src/services/Tweets/types.js", "max_stars_repo_name": "zhangzhi93/movie-admin-project", "max_stars_repo_stars_event_min_datetime": "2019-12-13T06:13:25.000Z", "max_stars_repo_stars_event_max_datetime": "2020-01-13T06:30:21.000Z", "max_issues_repo_path": "src/services/Tweets/types.js", "max_issues_repo_name": "zhangzhi93/movie-admin-project", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/services/Tweets/types.js", "max_forks_repo_name": "zhangzhi93/movie-admin-project", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.21875, "max_line_length": 59, "alphanum_fraction": 0.6970633694}
import axios from '../../utils/axios';

//
export function getClassifyList(params) {
  return axios.get('/tweet/classify', { params });
}

//
export function addClassify(params) {
  return axios.post('/tweet/classify', params);
}

//
export function getClassifyById(params) {
  return axios.get(`/tweet/classify/${params.id}`);
}

//
export function updateClassify(params) {
  return axios.put(`/tweet/classify/${params.id}`, params);
}

//
export function deleteClassify(params) {
  return axios.delete(`/tweet/classify/${params.id}`);
}

//
export function getClassifyOption(params) {
  return axios.get('/tweet/classify/option', { params });
}
