Commit 16a160fb by 王悦

fix

parent 4698883f
......@@ -8,10 +8,9 @@ const utilsNeedSve = system.getObject("service.utilsSve.utilsNeedSve");
module.exports = function (app) {
app.post('/tm/springboard', async function (req, res) {
let body = req.body || {};
let _tmSpringboard = new tmSpringboard(body);
try {
let data = await _tmSpringboard.transferRequest();
body.BizId = data.BizId//TM_单号
console.log("/tm/springboard params",body)
body.BizId = body.BizId//TM_单号
body.needNo = body.IntentionBizId
//body.serviceOrderNo//云服单号
//body.IntentionBizId//needid需求号
......@@ -24,7 +23,6 @@ module.exports = function (app) {
console.log("----返回成功");
} catch (error) {
console.error("------error", error);
await _tmSpringboard.addErrorLog(error);
CtxBody.error(res, 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