|
@@ -72,6 +72,11 @@ class Issue extends BaseController
|
|
|
$list = Prediction::forPage($page, $limit)
|
|
$list = Prediction::forPage($page, $limit)
|
|
|
->orderByDesc('issue_no')
|
|
->orderByDesc('issue_no')
|
|
|
->get();
|
|
->get();
|
|
|
|
|
+ foreach ($list as &$item) {
|
|
|
|
|
+ $item['day'] = date("m-d H:i", strtotime($item['updated_at']));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
} catch (ValidationException $e) {
|
|
} catch (ValidationException $e) {
|
|
|
return $this->error($e->validator->errors()->first());
|
|
return $this->error($e->validator->errors()->first());
|
|
|
} catch (Exception $e) {
|
|
} catch (Exception $e) {
|