Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
964222c4
Commit
964222c4
authored
Jul 04, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
0205c100
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
19 deletions
+37
-19
center-manage/app/base/system.js
+34
-19
center-manage/app/config/settings.js
+3
-0
No files found.
center-manage/app/base/system.js
View file @
964222c4
...
...
@@ -325,30 +325,45 @@ module.exports = System;
/*
地址: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 日志消息描述
//地址:http://192.168.1.128:4019/api/queueAction/producer/springBoard
请求方式:post
参数:
{
"actionType": "produceLogsData",// Y 功能名称
"actionBody": {
"opTitle": "",// N 操作的业务标题
"identifyCode": "logs001",// Y 操作的业务标识
"indexName":"brg-user-center",// Y es索引值,同一个项目用一个值
"messageBody": {//日志的描述信息
"opUrl": "http://192.168.1.189:4012/api/test/testApi/springBoard",// N 操作的业务Url
"message": ""// Y 日志消息描述
},
"resultInfo":"",//返回信息
"errorInfo": ""//错误信息
}
}
}
}
logs-sytxpublic-msgq-service--日志服务
返回参数:
{
status: 1, //1为成功,否则为失败
msg: "测试成功",
data: null
}
*/
//
let obj=
{
//
let obj=
{
// "actionType": "produceLogsData",// Y 功能名称
// "actionBody": {
// "opTitle": "",// N 操作的业务标题
// "identifyCode": "logs001",// Y 操作的业务标识
// "opTitle": "testxx",// N 操作的业务标题
// "identifyCode": "testxx",// Y 操作的业务标识
// "indexName":"brg-center-manage",// Y es索引值,同一个项目用一个值
// "messageBody": {//日志的描述信息
// "opUrl": "http://192.168.1.189:4012/api/test/testApi/springBoard",// N 操作的业务Url
// "message": ""// Y 日志消息描述
// }
// },
// "resultInfo":"",//返回信息
// "errorInfo": ""//错误信息
// }
// }
// System.postJsonTypeReq("http://192.168.1.128:401/api/queueAction/producer/springBoard",)
\ No newline at end of file
// System.postJsonTypeReq("http://192.168.1.128:4019/api/queueAction/producer/springBoard",obj).then(r=>{
// console.log(r)
// })
\ No newline at end of file
center-manage/app/config/settings.js
View file @
964222c4
...
...
@@ -33,6 +33,9 @@ var settings = {
return
"http://icdeliver-service"
;
}
},
logUrl
:
function
(){
},
pmappname
:
"center-app"
,
pmappid
:
1
,
pmcompanyid
:
1
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment