feat: 新增合同审查定时任务与积分体系,重构支付模块与余额流水查询

This commit is contained in:
2026-10-14 21:55:23 +08:00
parent 988e2e8853
commit 631e3caa4c
29 changed files with 2008 additions and 862 deletions
@@ -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,