|
@@ -157,8 +157,8 @@ let testStudent = function (num, team, mustbeTeamOne) {
|
|
|
UserId: 104,
|
|
UserId: 104,
|
|
|
UserMd5: "55661a861f8fae20dd505b2b4575dc0e",
|
|
UserMd5: "55661a861f8fae20dd505b2b4575dc0e",
|
|
|
Weight: 50,
|
|
Weight: 50,
|
|
|
- ActivePercent: "@integer(1, 200)",
|
|
|
|
|
- // ActivePercent: 0,
|
|
|
|
|
|
|
+ // ActivePercent: "@integer(1, 200)",
|
|
|
|
|
+ ActivePercent: 70,
|
|
|
bmrMSjRmrcb: 66.00000000000001,
|
|
bmrMSjRmrcb: 66.00000000000001,
|
|
|
FormatCk: "@integer(1, 999)",
|
|
FormatCk: "@integer(1, 999)",
|
|
|
isAlive: true,
|
|
isAlive: true,
|
|
@@ -379,17 +379,18 @@ if (t == 0) {
|
|
|
let curheadapi = 'http://192.168.0.63:8080/';
|
|
let curheadapi = 'http://192.168.0.63:8080/';
|
|
|
|
|
|
|
|
// 0: 下课 团课/私教/PK 的排名
|
|
// 0: 下课 团课/私教/PK 的排名
|
|
|
- let LessonClass = 0;
|
|
|
|
|
|
|
+ let LessonClass = 3;
|
|
|
|
|
+ let LessonDp = LessonClass;
|
|
|
// 1:团课/私教
|
|
// 1:团课/私教
|
|
|
// 2:竞技课2PK
|
|
// 2:竞技课2PK
|
|
|
// 3:竞技课threepk
|
|
// 3:竞技课threepk
|
|
|
- let LessonDp = 0;
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
if (LessonClass == 1) {
|
|
if (LessonClass == 1) {
|
|
|
// 上团课
|
|
// 上团课
|
|
|
Mock.mock(curheadapi + 'ClassStatQuery', 'post', getClassStat(1, 1));
|
|
Mock.mock(curheadapi + 'ClassStatQuery', 'post', getClassStat(1, 1));
|
|
|
- Mock.mock(curheadapi + 'UserListInfo', 'post', testStudent(22, 1));
|
|
|
|
|
|
|
+ Mock.mock(curheadapi + 'UserListInfo', 'post', testStudent(1, 1));
|
|
|
} 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));
|