|
@@ -3,6 +3,7 @@
|
|
|
namespace app\api\controller;
|
|
|
|
|
|
use app\common\controller\Api;
|
|
|
+use app\common\library\Keyworld;
|
|
|
use think\Db;
|
|
|
/**
|
|
|
* 智能助手 提交反馈
|
|
@@ -25,6 +26,9 @@ class Feedback extends Api
|
|
|
$info = input('info','','trim');
|
|
|
$images = input('images','','trim');
|
|
|
|
|
|
+ //关键字替换
|
|
|
+ $info = Keyworld::sensitive($info);
|
|
|
+
|
|
|
$data = [
|
|
|
'user_id' => $this->auth->id,
|
|
|
'category' => $category,
|