作者 潘浩文
1 个管道 的构建 通过 耗费 1 秒

接口

... ... @@ -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{
... ...