提交 b385c2db 编写于 作者: 璃白.'s avatar 璃白. 🌻

fix

上级 f79f447c
......@@ -18,7 +18,6 @@ export class UserService {
private EncodingAESKey = 'G2dRbTxvngyk8nzPLgXSlNRvdtFOxeOxWJJ3aQ5tNB3';
private messageInfo: any = {};
private timer: any = null;
private cid: string = '';
@Inject()
cacheManager: CacheManager;
......@@ -102,7 +101,7 @@ export class UserService {
params: {
question: messageInfo.question,
stream: false,
cid: this.cid,
cid: messageInfo.FromUserName + '_chat',
},
headers: {
Accept: '*/*',
......@@ -113,7 +112,6 @@ export class UserService {
);
clearTimeout(this.timer);
this.cid = res?.data?.cid;
const answer = res?.data?.answer;
console.log(answer);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册