From 87fbb6808166ede1613581cc0f9a8318346af246 Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Wed, 22 Dec 2021 10:56:19 +0800 Subject: [PATCH] settter --- app/controller/api/Comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", ""),//图片地址 仅图片评论才有