feat: 新增合同审查定时任务与积分体系,重构支付模块与余额流水查询
This commit is contained in:
@@ -25,7 +25,7 @@ module.exports = {
|
||||
}
|
||||
});
|
||||
|
||||
let answer = '暂时无法回复,请拨打 400-686-5559 咨询';
|
||||
let answer = '';
|
||||
let conversationId = '';
|
||||
const text = res.data || '';
|
||||
const lines = text.split('\n');
|
||||
@@ -37,10 +37,11 @@ module.exports = {
|
||||
const p = JSON.parse(d);
|
||||
if (p.conversation_id) conversationId = p.conversation_id;
|
||||
if (p.type === 'answer' && p.content) {
|
||||
answer = p.content;
|
||||
answer += p.content; // 拼接,不是覆盖
|
||||
}
|
||||
} catch (e) { /* 跳过 */ }
|
||||
}
|
||||
if (!answer) answer = '暂时无法回复,请拨打 400-686-5559 咨询';
|
||||
|
||||
return {
|
||||
code: 0,
|
||||
|
||||
Reference in New Issue
Block a user