Compare commits
2 Commits
2bc6f4ebf8
...
93930445b6
Author | SHA1 | Date |
---|---|---|
|
93930445b6 | |
|
2a1c90ec54 |
|
@ -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'],
|
||||
|
|
Loading…
Reference in New Issue