Ken 1 주 전
부모
커밋
020c513239
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      app/Http/Controllers/api/Issue.php

+ 4 - 0
app/Http/Controllers/api/Issue.php

@@ -113,6 +113,10 @@ class Issue extends BaseController
             'end_time' => $data1 ? strtotime($data1->end_time) : null,
             'winnings' => $arr,
         ];
+
+        $data['aa'] = bcsub($data['end_time'], $data['current_time'], 0);
+
+
         return $this->success($data);
     }