首页案例样式调整 案例详情接口替换

This commit is contained in:
lmj
2022-07-06 14:05:44 +08:00
parent 453f207aec
commit 5cba8e53b1
3 changed files with 19 additions and 5 deletions

View File

@@ -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
}