设置和取消

This commit is contained in:
86182
2022-12-06 11:25:44 +08:00
parent 62ba05c6dd
commit 5e198e60b0

View File

@@ -119,6 +119,17 @@ const ids=function (data){
return ajax.postJson('/xboe/m/boe/cases/ids',data); return ajax.postJson('/xboe/m/boe/cases/ids',data);
} }
/**
* 设置和取消优秀案例
* @param{
* id 案例id
* excellent true、设置 false 取消
* }
* */
const excellent=function(data){
return ajax.post('/xboe/m/boe/cases/excellent')
}
export default { export default {
indexList, indexList,
queryList, queryList,
@@ -133,5 +144,6 @@ export default {
queryComments, queryComments,
majorTypes, majorTypes,
details, details,
ids ids,
excellent
} }