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<*>}
*/
getExamQuestion(handler, data = {}) {
return utils.http(handler, 'paper/getExamQuestion', data)
},
/**
* 检查考试是否需要支付
* @returns {Promise<*>}
*/
checkPay(handler, data = {}) {
return utils.http(handler, 'paper/checkPay', data)
},
/**
* 创建考试订单及支付信息
* @returns {Promise<*>}
*/
createOrder(handler, data = {}) {
return utils.http(handler, 'paper/createOrder', data)
},
}
|