Commit 9d8bbb2d by 蒋勇

d

parent 51187059
...@@ -50,6 +50,7 @@ class CtlBase { ...@@ -50,6 +50,7 @@ class CtlBase {
credid: req.headers["x-credential-identifier"], credid: req.headers["x-credential-identifier"],
regrole:req.headers["xregrole"], regrole:req.headers["xregrole"],
bizpath:req.headers["xbizpath"], bizpath:req.headers["xbizpath"],
codetitle:req.headers["codetitle"],
} }
if(!req.xctx.appkey){ if(!req.xctx.appkey){
return [-200,"请求头缺少应用x-app-key"] return [-200,"请求头缺少应用x-app-key"]
...@@ -104,3 +105,20 @@ class CtlBase { ...@@ -104,3 +105,20 @@ class CtlBase {
} }
} }
module.exports = CtlBase; module.exports = CtlBase;
/*
地址:http://192.168.1.128:401/api/queueAction/producer/springBoard
请求方式:post
参数:
{
"actionType": "produceLogsData",// Y 功能名称
"actionBody": {
"opTitle": "",// N 操作的业务标题
"identifyCode": "logs001",// Y 操作的业务标识
"messageBody": {//日志的描述信息
"opUrl": "http://192.168.1.189:4012/api/test/testApi/springBoard",// N 操作的业务Url
"message": ""// Y 日志消息描述
}
}
}
logs-sytxpublic-msgq-service--日志服务
*/
\ No newline at end of file
...@@ -321,4 +321,34 @@ module.exports = System; ...@@ -321,4 +321,34 @@ module.exports = System;
// }catch(e){ // }catch(e){
// console.log(e); // console.log(e);
// } // }
// })() // })()
\ No newline at end of file
/*
地址:http://192.168.1.128:401/api/queueAction/producer/springBoard
请求方式:post
参数:
{
"actionType": "produceLogsData",// Y 功能名称
"actionBody": {
"opTitle": "",// N 操作的业务标题
"identifyCode": "logs001",// Y 操作的业务标识
"messageBody": {//日志的描述信息
"opUrl": "http://192.168.1.189:4012/api/test/testApi/springBoard",// N 操作的业务Url
"message": ""// Y 日志消息描述
}
}
}
logs-sytxpublic-msgq-service--日志服务
*/
// let obj= {
// "actionType": "produceLogsData",// Y 功能名称
// "actionBody": {
// "opTitle": "",// N 操作的业务标题
// "identifyCode": "logs001",// Y 操作的业务标识
// "messageBody": {//日志的描述信息
// "opUrl": "http://192.168.1.189:4012/api/test/testApi/springBoard",// N 操作的业务Url
// "message": ""// Y 日志消息描述
// }
// }
// }
// System.postJsonTypeReq("http://192.168.1.128:401/api/queueAction/producer/springBoard",)
\ No newline at end of file
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