chenyc
2024-12-23 a2c78f7b515723ac3744a71e4bc04e823a3a772f
gx接口地址
2个文件已修改
6 ■■■■ 已修改文件
app.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
thirdPartyApi.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
app.js
@@ -408,7 +408,7 @@
    }
    catch(err){
        logger.info(`血流量设备上报结果,请求报错`)
        res.status(400).json({ retCode: "-1", msg: "请求出错了" });
        res.status(400).json({ retCode: "-1", msg: "请求出错了11" });
    }
  
thirdPartyApi.js
@@ -3,8 +3,8 @@
const path = require('path');
const FormData = require('form-data');
const logger = require(path.resolve(__dirname, 'logger'));
const BASIC_API = 'https://hemobs.icoldchain.cn/'
// const BASIC_API = 'http://testbs.ihemodialysis.com/'
// const BASIC_API = 'https://hemobs.icoldchain.cn/'
const BASIC_API = 'http://testbs.ihemodialysis.com/'
let cachedToken = null;
let tokenExpiresAt = null;