明树Git Lab

Commit fbec1223 authored by zfp1's avatar zfp1

1

parent f3292c20
......@@ -73,7 +73,8 @@ app.post('/wechat', async (req, res) => {
const responseXml = buildTextResponse(message, deepseekResponse);
res.set('Content-Type', 'text/xml');
res.send(responseXml);
console.log("responseXml:::" ,responseXml);
return res.send(responseXml);
} catch (error) {
console.error('Error processing message:', error);
res.status(500).send('Server Error');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment