library.js 370 B

123456789101112131415
  1. import APIConfig from './api.js';
  2. import efunRequest from '../utils/efunRequest'
  3. export default class LibraryUrl {
  4. static aabbcc(){
  5. alert(123)
  6. }
  7. static getIndex(ageGroup) {
  8. console.log(ageGroup)
  9. return efunRequest.getHttpRequest().url(APIConfig.getLibraryUrl(`/category`)).params({
  10. ageGroup
  11. }).get();
  12. }
  13. }