|
|
@@ -371,7 +371,7 @@ let getClassStat = function (ClassOn, dp) {
|
|
|
};
|
|
|
};
|
|
|
|
|
|
-let t = 0;//0 is on 1 is off
|
|
|
+let t = 1;//0 is on 1 is off
|
|
|
if (t == 0) {
|
|
|
// 列表测试
|
|
|
Mock.mock('/api/testTable', 'post', testTable());
|
|
|
@@ -381,7 +381,7 @@ if (t == 0) {
|
|
|
let curheadapi = 'http://192.168.0.63:8080/';
|
|
|
|
|
|
// 0: 下课 团课/私教/PK 的排名
|
|
|
- let LessonClass = 3;
|
|
|
+ let LessonClass = 0;
|
|
|
// 1:团课/私教
|
|
|
// 2:竞技课2PK
|
|
|
// 3:竞技课threepk
|
|
|
@@ -395,7 +395,7 @@ if (t == 0) {
|
|
|
} else if (LessonClass == 2) {
|
|
|
// 上2队PK课
|
|
|
Mock.mock(curheadapi + 'ClassStatQuery', 'post', getClassStat(1, 2));
|
|
|
- Mock.mock(curheadapi + 'UserListInfo', 'post', testStudent(12, 2,));
|
|
|
+ Mock.mock(curheadapi + 'UserListInfo', 'post', testStudent(3, 2,));
|
|
|
} else if (LessonClass == 3) {
|
|
|
// 上3队PK课
|
|
|
Mock.mock(curheadapi + 'ClassStatQuery', 'post', getClassStat(1, 3));
|
|
|
@@ -414,7 +414,7 @@ if (t == 0) {
|
|
|
} else if (LessonDp == 3) {
|
|
|
Mock.mock(curheadapi + 'ClassStatQuery', 'post', getClassStat(0, 3));
|
|
|
// 下课排名
|
|
|
- Mock.mock(curheadapi + 'ClassUserRank', 'post', testStudent(1, 3));
|
|
|
+ Mock.mock(curheadapi + 'ClassUserRank', 'post', testStudent(6, 3));
|
|
|
}
|
|
|
}
|
|
|
|