import Mock from "mockjs"
Mock.mock(
"/api_html/common/paper/paperShareCount", {
info: "success",
status: 0,
data: {
myCount: 24,
grade: 30
}
}
)
Mock.mock(
"/api_html/common/paper/upload", {
info: "success",
status: 0,
data: {
"name": "@ctitle",
"id|+1": 11,
"questionList": [
{
"examQuestionId|+1": 0,
"questionId|+1": 1,
"questionTitle": "@cname",
"questionType|1-4": 1,
"score|1-2": 1,
"partScore|0.5-1": 0.5,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"subQuestions": [
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
"knowledge":"数与式#有理数#正数和负数,数与式#有理数#有理数"
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
"knowledge":"数与式#有理数#正数和负数"
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 3,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
]
},
{
"examQuestionId|+1": 0,
"questionId|+1": 1,
"questionTitle": "@cname",
"questionType|1-4": 1,
"score|1-2": 1,
"partScore|0.5-1": 0.5,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"subQuestions": [
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 3,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
},
{
"questionType": 2,
"score": 1,
"partScore": 0,
"selectNum": 4,
"answerOptions": "A,B,C,D",
"correctAnswer|1": ["A", "B", "C", "D"],
"screenshot": "./1.html",
}
]
},
]
}
}
)