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
c008b5c5
Commit
c008b5c5
authored
Apr 16, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
56731c6f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
center-channel/app/base/api/impl/auth/taskapi.js
+4
-0
center-channel/app/base/db/models/common/oplog.js
+1
-1
center-channel/app/base/service/impl/utilsSve/utilsPushSve.js
+11
-1
No files found.
center-channel/app/base/api/impl/auth/taskapi.js
View file @
c008b5c5
...
...
@@ -13,6 +13,10 @@ class AccessAuthAPI extends APIBase {
var
rtn
=
await
this
.
gatewaypushlogSve
.
taskAliIcapi
();
return
rtn
;
}
async
taskAgainFqPushInfo
(
pobj
,
qobj
,
req
)
{
//再次推送蜂擎业务数据
var
rtn
=
await
this
.
utilsPushSve
.
aliBusiness2Fq
(
pobj
)
return
rtn
;
}
async
taskAgainPushOneNewBusInfo
(
pobj
,
qobj
,
req
)
{
//再次推送新rpc业务数据
var
rtn
=
await
this
.
utilsPushSve
.
againPushBusInfo
(
pobj
);
if
(
rtn
.
status
==
0
)
{
...
...
center-channel/app/base/db/models/common/oplog.js
View file @
c008b5c5
...
...
@@ -13,7 +13,7 @@ module.exports = (db, DataTypes) => {
defaultValue
:
"info"
,
},
op
:
DataTypes
.
STRING
(
4000
),
content
:
DataTypes
.
STRING
(
5000
),
content
:
DataTypes
.
TEXT
(
'long'
),
resultInfo
:
DataTypes
.
TEXT
(
'long'
),
clientIp
:
DataTypes
.
STRING
,
agent
:
DataTypes
.
STRING
(
500
),
...
...
center-channel/app/base/service/impl/utilsSve/utilsPushSve.js
View file @
c008b5c5
...
...
@@ -12,6 +12,16 @@ class UtilsPushService extends AppServiceBase {
var
reqUrl
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
productItemInterfaceResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
pobj
.
interface_info
=
productItemInterfaceResult
.
data
;
//日志记录
this
.
logCtl
.
info
({
appid
:
pobj
.
appInfo
?
pobj
.
appInfo
.
uapp_id
||
""
:
""
,
appkey
:
pobj
.
appInfo
?
pobj
.
appInfo
.
uapp_key
||
""
:
""
,
requestId
:
pobj
.
requestId
||
""
,
op
:
"service/impl/utilsSve/utilsPushSve.js/service/app.base.js/aliBusiness2Fq"
,
content
:
JSON
.
stringify
(
pobj
),
resultInfo
:
productItemInterfaceResult
.
data
.
length
>
0
?
JSON
.
stringify
(
productItemInterfaceResult
.
data
)
:
"接口数据为空"
,
optitle
:
pobj
.
opType
+
"推送蜂擎获取的接口信息->aliBusiness2Fq"
,
});
this
.
pushBusInfo
(
pobj
,
opType
,
1
);
}
...
...
@@ -41,7 +51,7 @@ class UtilsPushService extends AppServiceBase {
}
return
system
.
getResultSuccess
();
}
async
reflexAction
(
interface_info
,
opType
,
pobj
,
isDelProductInfo
)
{
var
refResult
=
null
;
pobj
.
interface_info
=
interface_info
;
...
...
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