|
@@ -26,13 +26,15 @@ class NoticeRuleDetailTransformer extends TransformerAbstract
|
|
|
'title' => $noticeRule['title'],
|
|
|
'content' => $noticeRule['content'],
|
|
|
'cover' => $noticeRule['cover'],
|
|
|
- 'updated_at' => Carbon::parse($noticeRule['updated_at'])->toDateTimeString(),
|
|
|
+ 'send_time' => $noticeRule['send_time']?Carbon::parse($noticeRule['send_time'])->toDateTimeString():'',
|
|
|
'send_count' => $noticeRule['send_count'],
|
|
|
'notice_user_type' => $noticeRule['notice_user_type'],
|
|
|
'notice_status' => $noticeStatus,
|
|
|
'attribute' => $attribute,
|
|
|
'category' => $category,
|
|
|
'uids' => $uids,
|
|
|
+ 'action_type' => $noticeRule['action_type'],
|
|
|
+ 'action_id' => $noticeRule['action_id'],
|
|
|
];
|
|
|
}
|
|
|
}
|