|
@@ -271,11 +271,11 @@ class SignController extends RestBaseController |
|
@@ -271,11 +271,11 @@ class SignController extends RestBaseController |
271
|
elseif ($item['status']==4){
|
271
|
elseif ($item['status']==4){
|
272
|
$item['status']='超重';
|
272
|
$item['status']='超重';
|
273
|
}
|
273
|
}
|
274
|
- $item['day']=ceil((time()-$item['register_time'])/(60*60*21));
|
274
|
+ $item['day']=ceil((time()-$item['register_time'])/(60*60*24));
|
275
|
return $item;
|
275
|
return $item;
|
276
|
});
|
276
|
});
|
277
|
}
|
277
|
}
|
278
|
- $param['day']=ceil((time()-$user['register_time'])/(60*60*21));
|
278
|
+ $param['day']=ceil((time()-$user['register_time'])/(60*60*24));
|
279
|
$param['pregnant_week']=$user['pregnant_week'];
|
279
|
$param['pregnant_week']=$user['pregnant_week'];
|
280
|
//返回
|
280
|
//返回
|
281
|
$this->success('周打卡信息',array(
|
281
|
$this->success('周打卡信息',array(
|