|
|
@@ -145,7 +145,7 @@ class Message extends BaseModel
|
|
|
// 机器人自动回复问题推送给用户
|
|
|
if ($is_robot && $param['type'] == 'text') {
|
|
|
if (!empty($param['question_id'])) {
|
|
|
- $param['type'] = 'text';
|
|
|
+ $param['type'] = 'answer';
|
|
|
$param['content'] = QuestionLanguages::where('id', $param['question_id'])->value('answer');
|
|
|
} else {
|
|
|
//获取关键词匹配
|