Compare commits

..

No commits in common. "93930445b634c155eda5dbd245a227b9e704024a" and "2bc6f4ebf86ab4cb2289372eaeda6c11c7effb40" have entirely different histories.

1 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,6 @@ use think\Exception;
use think\exception\ValidateException;
use think\facade\Config;
use think\facade\Log;
/**
* 评论相关
*
@ -58,7 +57,7 @@ class Comment extends Base
throw new RepositoryException('用户被加入黑名单,暂时不能评论,请在' .$account->blank_time . "后评论");
}
$comment = input("comment/a", [],null);
$comment = urldecode(json_encode($comment));
$comment =urldecode(json_encode($comment));
$param = [
"comment" => $comment,//评论内容 图片类型放入地址 语音类型放置语音文件地址
"user_code" => $account['user_code'],