You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/public/react/src/services/staticService.js

15 lines
329 B

import axios from "axios";
/*
* @Description:
* @Author: tangjiang
* @Github:
* @Date: 2020-01-14 09:40:53
* @LastEditors : tangjiang
* @LastEditTime : 2020-01-14 10:47:19
*/
export async function fetchStaticList (id, params) {
const url = `/paths/${id}/statistics_info.json`;
return axios.get(url, { params });
}