import APIConfig from './api.js'; // import efunRequest from '../utils/efunRequest' import request from '../utils/request' export default class search { // 获取搜索课程列表 static getSearchCourseList(keyword) { console.log(keyword) return request(`http://ott80testlibrary.yifangjiaoyu.cn/mobile/course?keyword=${keyword}`, { method: "get", }) } // 获取搜索课件列表 static getSearchWareList(keyword) { console.log(keyword) return request(`http://ott80testlibrary.yifangjiaoyu.cn/mobile/course/ware?keyword=${keyword}`, { method: "get", }) } }