浏览代码

add action id

moell 11 月之前
父节点
当前提交
7d9e0b8c8c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Repositories/ActionRepository.php

+ 1 - 0
app/Repositories/ActionRepository.php

@@ -125,6 +125,7 @@ class ActionRepository
 
         $cratedAt = Carbon::parse($action['created_at']);
         return [
+            'id' => $action['id'],
             'time' => $cratedAt->toTimeString(),
             'created_at' => $cratedAt->toDateTimeString(),
             'created_by' => [