This commit is contained in:
zhaofang
2022-07-21 15:49:59 +08:00
parent c61b435b6a
commit b4f83b1795
9 changed files with 11 additions and 12 deletions

View File

@@ -40,8 +40,8 @@ const pageList = function(query) {
* 课程的详细信息
* @param {String} id
*/
const detail = function(id) {
return ajax.get('/xboe/m/course/portal/detail?id=' + id);
const detail = function(id,preview) {
return ajax.get(`/xboe/m/course/portal/detail?id=${id}&preview=${preview}`);
}
/**