Compare commits

...

2 Commits

Author SHA1 Message Date
wangxinglong 93930445b6 settter 2021-12-22 11:16:34 +08:00
wangxinglong 2a1c90ec54 settter 2021-12-22 11:15:17 +08:00
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ use think\Exception;
use think\exception\ValidateException;
use think\facade\Config;
use think\facade\Log;
/**
* 评论相关
*
@ -57,7 +58,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'],