|
@@ -228,6 +228,7 @@ class PostRepositories
|
|
|
'uid' => $userInfo['uid'],
|
|
|
'username' => $userInfo['username'],
|
|
|
'post_id' => $post->id,
|
|
|
+ 'cover' => $post->img,
|
|
|
'content' => subtext($request['content'], 20),
|
|
|
]
|
|
|
]);
|
|
@@ -241,6 +242,7 @@ class PostRepositories
|
|
|
'uid' => $userInfo['uid'],
|
|
|
'username' => $userInfo['username'],
|
|
|
'post_id' => $post->id,
|
|
|
+ 'cover' => $post->img,
|
|
|
'content' => subtext($request['content'], 20),
|
|
|
]
|
|
|
]);
|
|
@@ -253,6 +255,7 @@ class PostRepositories
|
|
|
'uid' => $userInfo['uid'],
|
|
|
'username' => $userInfo['username'],
|
|
|
'post_id' => $post->id,
|
|
|
+ 'cover' => $post->img,
|
|
|
'content' => subtext($request['content'], 20),
|
|
|
]
|
|
|
]);
|