2db47680
hexiaodong
chore: 初始提交 php 遗...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
import utils from "../js/utils.js";
/**
* 纠错相关接口
*/
module.exports = {
/**
* 纠错类型
* @returns {Promise<*>}
*/
getCorrectionTypes(handler, data = {}) {
return utils.http(handler, 'correction/types', data)
},
/**
* 提交纠错
* @returns {Promise<*>}
*/
submitCorrection(handler, data = {}) {
return utils.http(handler, 'correction/submit', data)
},
/**
* 获取纠错反馈列表
* @returns {Promise<*>}
*/
getCorrectionList(handler, data = {}) {
return utils.http(handler, 'correction/list', data)
},
}
|