| app.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| thirdPartyApi.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
app.js
@@ -75,6 +75,10 @@ `; res.send(html); }); app.get('/test', async (req, res) => { const token=await thirdPartyApi.getAccessToken() res.json(token); }); // 定义 /webuser 路由处理器 用患者code 换信息 app.post('/webuser', async (req, res) => { const mode=req.body thirdPartyApi.js
@@ -96,7 +96,8 @@ module.exports = { fetchThirdPartyDataNoToke, fetchThirdPartyData fetchThirdPartyData, getAccessToken }; // 插入数据