|
@@ -274,6 +274,8 @@ class PostRepository
|
|
|
'param' => [
|
|
|
'uid' => $userInfo['uid'],
|
|
|
'username' => $userInfo['username'],
|
|
|
+ 'post_id' => $post->id,
|
|
|
+ 'content' => subtext($request['content'], 20),
|
|
|
]
|
|
|
]);
|
|
|
}else{
|
|
@@ -283,6 +285,8 @@ class PostRepository
|
|
|
'param' => [
|
|
|
'uid' => $userInfo['uid'],
|
|
|
'username' => $userInfo['username'],
|
|
|
+ 'post_id' => $post->id,
|
|
|
+ 'content' => subtext($request['content'], 20),
|
|
|
]
|
|
|
]);
|
|
|
}
|