Ken hace 1 semana
padre
commit
020c513239
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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);
     }