|
@@ -430,7 +430,7 @@ if (t == 1) {
|
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// 0: 下课 团课/私教/PK 的排名
|
|
// 0: 下课 团课/私教/PK 的排名
|
|
|
- let LessonClass = 0;
|
|
|
|
|
|
|
+ let LessonClass = 1;
|
|
|
let LessonDp = 0;
|
|
let LessonDp = 0;
|
|
|
// 1:团课/私教
|
|
// 1:团课/私教
|
|
|
// 2:竞技课2PK
|
|
// 2:竞技课2PK
|
|
@@ -441,13 +441,13 @@ if (t == 1) {
|
|
|
// 上团课
|
|
// 上团课
|
|
|
Mock.mock(curheadapi + 'ClassStatQuery', 'post', getClassStat(1, 1));
|
|
Mock.mock(curheadapi + 'ClassStatQuery', 'post', getClassStat(1, 1));
|
|
|
Mock.mock(Mockapi + 'ClassStatQuery', 'post', getClassStat(1, 1));
|
|
Mock.mock(Mockapi + 'ClassStatQuery', 'post', getClassStat(1, 1));
|
|
|
- Mock.mock(curheadapi + 'UserListInfo', 'post', testStudent(25, 1));//true
|
|
|
|
|
|
|
+ Mock.mock(curheadapi + 'UserListInfo', 'post', testStudent(35, 1));//true
|
|
|
Mock.mock(Mockapi + 'UserListInfo', 'post', testStudent(9, 2)); //
|
|
Mock.mock(Mockapi + 'UserListInfo', 'post', testStudent(9, 2)); //
|
|
|
} else if (LessonClass == 2) {
|
|
} else if (LessonClass == 2) {
|
|
|
// 上2队PK课
|
|
// 上2队PK课
|
|
|
Mock.mock(curheadapi + 'ClassStatQuery', 'post', getClassStat(1, 2));
|
|
Mock.mock(curheadapi + 'ClassStatQuery', 'post', getClassStat(1, 2));
|
|
|
Mock.mock(Mockapi + 'ClassStatQuery', 'post', getClassStat(1, 2));
|
|
Mock.mock(Mockapi + 'ClassStatQuery', 'post', getClassStat(1, 2));
|
|
|
- Mock.mock(curheadapi + 'UserListInfo', 'post', testStudent(6, 2,));
|
|
|
|
|
|
|
+ Mock.mock(curheadapi + 'UserListInfo', 'post', testStudent(16, 2,));
|
|
|
Mock.mock(Mockapi + 'UserListInfo', 'post', testStudent(10, 1,));
|
|
Mock.mock(Mockapi + 'UserListInfo', 'post', testStudent(10, 1,));
|
|
|
} else if (LessonClass == 3) {
|
|
} else if (LessonClass == 3) {
|
|
|
// 上3队PK课
|
|
// 上3队PK课
|