...
|
...
|
@@ -345,6 +345,7 @@ class SignController extends RestBaseController |
|
|
$param['weight']=$user['now_weight'];
|
|
|
// $param['status']=$paramService->status($user['before_weight'],$user['height']);
|
|
|
$param['increase']=$user['now_weight']-$user['before_weight'];
|
|
|
$param['show_weight']=$user['now_weight'];
|
|
|
$param['overplus']=$paramService->overplus($user['before_weight'],$user['height'])-($user['now_weight']-$user['before_weight']);
|
|
|
$record=[0=>['day'=>ceil((time()-$user['register_time'])/(60*60*24)),'weight'=> $param['weight'],'status'=>$paramService->status($user['before_weight'],$user['height'])]];
|
|
|
}else{
|
...
|
...
|
|