12345678910111213141516 |
- import APIConfig from './api.js';
- import efunRequest from '../utils/efunRequest'
- import request from '../utils/request'
- export default class LibraryUrl {
-
- static getIndex(ageGroup) {
- // return efunRequest.getHttpRequest().url(APIConfig.getLibraryUrl(`/category`)).params({
- // ageGroup
- // }).get();
- return request(APIConfig.getLibraryUrl(`/category?ageGroup=${ageGroup}`), {
- method: "get",
- })
- }
-
- }
|