正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -345,6 +345,7 @@ class SignController extends RestBaseController | @@ -345,6 +345,7 @@ class SignController extends RestBaseController | ||
345 | $param['weight']=$user['now_weight']; | 345 | $param['weight']=$user['now_weight']; |
346 | // $param['status']=$paramService->status($user['before_weight'],$user['height']); | 346 | // $param['status']=$paramService->status($user['before_weight'],$user['height']); |
347 | $param['increase']=$user['now_weight']-$user['before_weight']; | 347 | $param['increase']=$user['now_weight']-$user['before_weight']; |
348 | + $param['show_weight']=$user['now_weight']; | ||
348 | $param['overplus']=$paramService->overplus($user['before_weight'],$user['height'])-($user['now_weight']-$user['before_weight']); | 349 | $param['overplus']=$paramService->overplus($user['before_weight'],$user['height'])-($user['now_weight']-$user['before_weight']); |
349 | $record=[0=>['day'=>ceil((time()-$user['register_time'])/(60*60*24)),'weight'=> $param['weight'],'status'=>$paramService->status($user['before_weight'],$user['height'])]]; | 350 | $record=[0=>['day'=>ceil((time()-$user['register_time'])/(60*60*24)),'weight'=> $param['weight'],'status'=>$paramService->status($user['before_weight'],$user['height'])]]; |
350 | }else{ | 351 | }else{ |
-
请 注册 或 登录 后发表评论