正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -429,7 +429,7 @@ class SignController extends RestBaseController | @@ -429,7 +429,7 @@ class SignController extends RestBaseController | ||
429 | $xiaxian=[]; | 429 | $xiaxian=[]; |
430 | foreach ($data as $k=>$v){ | 430 | foreach ($data as $k=>$v){ |
431 | $data[$k]['week']=ceil(($data[$k]['create_time'] - $user['register_time'])/(7*24*60*60)); | 431 | $data[$k]['week']=ceil(($data[$k]['create_time'] - $user['register_time'])/(7*24*60*60)); |
432 | - $data[$k]['week_time']=date('m-d',strtotime('+'.$data[$k]['week'].' week',$data[$k]['create_time'])); | 432 | + $data[$k]['week_time']=date('m-d',strtotime('+'.$data[$k]['week'].' week',$user['register_time'])); |
433 | if ($user['pregnant_week']+$data[$k]['week']<=12){ | 433 | if ($user['pregnant_week']+$data[$k]['week']<=12){ |
434 | array_push($shangxian,$user['before_weight']+2); | 434 | array_push($shangxian,$user['before_weight']+2); |
435 | array_push($xiaxian,$user['before_weight']+0.5); | 435 | array_push($xiaxian,$user['before_weight']+0.5); |
-
请 注册 或 登录 后发表评论