...
|
...
|
@@ -429,7 +429,7 @@ class SignController extends RestBaseController |
|
|
$xiaxian=[];
|
|
|
foreach ($data as $k=>$v){
|
|
|
$data[$k]['week']=ceil(($data[$k]['create_time'] - $user['register_time'])/(7*24*60*60));
|
|
|
$data[$k]['week_time']=date('m-d',strtotime('+'.$data[$k]['week'].' week',$data[$k]['create_time']));
|
|
|
$data[$k]['week_time']=date('m-d',strtotime('+'.$data[$k]['week'].' week',$user['register_time']));
|
|
|
if ($user['pregnant_week']+$data[$k]['week']<=12){
|
|
|
array_push($shangxian,$user['before_weight']+2);
|
|
|
array_push($xiaxian,$user['before_weight']+0.5);
|
...
|
...
|
|