mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 21:06:42 +08:00
首页案例样式调整 案例详情接口替换
This commit is contained in:
@@ -99,6 +99,15 @@ const queryComments=function(pageSize){
|
||||
const majorTypes=function (){
|
||||
return ajax.get('/xboe/m/boe/cases/majorTypes');
|
||||
}
|
||||
/**
|
||||
* 详情新*/
|
||||
const details = function (id, addView) {
|
||||
let pars = 'id=' + id;
|
||||
if (addView) {
|
||||
pars += '&addView=' + addView
|
||||
}
|
||||
return ajax.get('/xboe/m/boe/cases/details?' + pars);
|
||||
}
|
||||
|
||||
export default {
|
||||
indexList,
|
||||
@@ -112,5 +121,6 @@ export default {
|
||||
usernameList,
|
||||
queryPraises,
|
||||
queryComments,
|
||||
majorTypes
|
||||
majorTypes,
|
||||
details
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user