mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
设置和取消
This commit is contained in:
@@ -119,6 +119,17 @@ const ids=function (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 {
|
||||
indexList,
|
||||
queryList,
|
||||
@@ -133,5 +144,6 @@ export default {
|
||||
queryComments,
|
||||
majorTypes,
|
||||
details,
|
||||
ids
|
||||
ids,
|
||||
excellent
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user