const url = { library_url: 'http://ott80testlibrary.yifangjiaoyu.cn/mobile/page', schedule_url: 'http://ott80test-schedule.yifangjiaoyu.cn/mobile/schedule/', user_url: 'http://ott80test-base.yifangjiaoyu.cn/mobile/user', upload_img: 'http://ott80test-base.yifangjiaoyu.cn/file/upload' }; export default class APIConfig { static getLibraryUrl(path) { return url.library_url + path; } static getScheduleUrl(path) { console.log(33333, url.schedule_url + path); return url.schedule_url + path; } static getUserUrl(path) { return url.user_url + path; } static getUploadImg() { return url.upload_img; } }