Authored by huangyi

修改api

@@ -37,10 +37,12 @@ class ActWheelSurfModel extends global.yoho.BaseModel { @@ -37,10 +37,12 @@ class ActWheelSurfModel extends global.yoho.BaseModel {
37 nowDate = parseInt(nowDate.getTime() / 1000); 37 nowDate = parseInt(nowDate.getTime() / 1000);
38 if (act.startTime > nowDate) { 38 if (act.startTime > nowDate) {
39 data.startType = false; 39 data.startType = false;
  40 + data.errorType = 0;
40 data.errorMsg = '活动未开始'; 41 data.errorMsg = '活动未开始';
41 } 42 }
42 if (act.endTime < nowDate) { 43 if (act.endTime < nowDate) {
43 data.startType = false; 44 data.startType = false;
  45 + data.errorType = 1;
44 data.errorMsg = '活动已过期'; 46 data.errorMsg = '活动已过期';
45 } 47 }
46 48