diff --git a/app/controller/api/Comment.php b/app/controller/api/Comment.php index cfaa564..8a3b98f 100644 --- a/app/controller/api/Comment.php +++ b/app/controller/api/Comment.php @@ -73,7 +73,7 @@ class Comment extends Base //如果是图片或者语音 加上域名信息 if(in_array($param['type'],[CommentModel::type_img,CommentModel::type_voice])){ - $comment = $param['comment']; + $comment = input("comment/s", '',null); $param['url'] = $this->request->domain() . $comment; $param['comment'] = $this->request->domain() . $comment;