|
|
@@ -226,11 +226,11 @@ let CalorieStatsQuery = function () {
|
|
|
let Rs = [
|
|
|
{
|
|
|
Title: '本<s>周</s>场馆卡路里总消耗',
|
|
|
- Result: [{'Values': "@integer(7654321, 1)", Unite: '千卡'}],
|
|
|
+ Result: [{'Values': "@integer(888888, 1)", Unite: '千卡'}],
|
|
|
},
|
|
|
{
|
|
|
Title: '本<s>周</s>场馆卡路里总消耗',
|
|
|
- Result: [{'Values': "@integer(7654321, 1)", Unite: '千卡'}],
|
|
|
+ Result: [{'Values': "@integer(888888, 1)", Unite: '千卡'}],
|
|
|
}
|
|
|
];
|
|
|
return {
|
|
|
@@ -321,7 +321,7 @@ if (t == 1) {
|
|
|
Mock.mock('/api/testTable', 'post', testTable());
|
|
|
|
|
|
Mock.mock('/api/getUserList', 'post', getUserList());
|
|
|
- let curheadapi = 'http://192.168.0.63:8080/';
|
|
|
+ let curheadapi = 'http://192.168.0.10:8080/';
|
|
|
// 学生列表
|
|
|
Mock.mock(curheadapi + 'UserListInfo', 'post', testStudent(6, 1));
|
|
|
// 下课排名
|
|
|
@@ -333,7 +333,7 @@ if (t == 1) {
|
|
|
// 用户排行榜
|
|
|
Mock.mock(curheadapi + 'UserRankingQuery', 'post', testStudent(1, 2));
|
|
|
// 上课状态
|
|
|
- Mock.mock(curheadapi + 'ClassStatQuery', 'post', getClassStat(1, 2));
|
|
|
+ Mock.mock(curheadapi + 'ClassStatQuery', 'post', getClassStat(0, 2));
|
|
|
// 新同学 0 999
|
|
|
Mock.mock(curheadapi + 'getNewUser', 'post', getNewUser(999));
|
|
|
// 彩蛋 0 999
|