|
@@ -254,6 +254,9 @@ class PostRepositories
|
|
if($comment->parent_id){
|
|
if($comment->parent_id){
|
|
return jsonError('只能回复评论');
|
|
return jsonError('只能回复评论');
|
|
}
|
|
}
|
|
|
|
+ if($comment->is_delete){
|
|
|
|
+ return jsonError('不能回复已删除评论');
|
|
|
|
+ }
|
|
$data['parent_id'] = $request['parent_id'];
|
|
$data['parent_id'] = $request['parent_id'];
|
|
|
|
|
|
if(isset($request['reply_uid']) && isset($request['reply_username'])){
|
|
if(isset($request['reply_uid']) && isset($request['reply_username'])){
|