diff --git a/app/controller/api/Comment.php b/app/controller/api/Comment.php index c02250b..f861789 100644 --- a/app/controller/api/Comment.php +++ b/app/controller/api/Comment.php @@ -58,7 +58,7 @@ class Comment extends Base } $param = [ - "comment" => urldecode(input("comment/s", "")),//评论内容 图片类型放入地址 语音类型放置语音文件地址 + "comment" => input("comment/s", "",null),//评论内容 图片类型放入地址 语音类型放置语音文件地址 "user_code" => $account['user_code'], "create_time" => date("Y-m-d H:i:s"), //"url" => input("url/s", ""),//图片地址 仅图片评论才有