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" }; 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; } }