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

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

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