Authored by huangyi

修改api

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