明树Git Lab

Commit 34b5c215 authored by zfp1's avatar zfp1

4

parent 5ee63365
......@@ -70,10 +70,10 @@ app.post('/wechat', async (req, res) => {
<Content><![CDATA[${fullContent}]]></Content>
</xml>
`;
console.log(xml2js.ValidationError(responseXML))
console.log(xml2js.parseString(responseXML))
res.set('Content-Type', 'text/xml');
console.log(responseXML)
res.send(responseXML);
return res.send(responseXML);
// } catch (error) {
// console.error(error);
// res.status(500).send(' 服务异常');
......
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