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
0ea691e6
Commit
0ea691e6
authored
Nov 16, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addlog
parent
cabf7580
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
center-channel/app/base/service/impl/utilsSve/utilsDeliverSystemSve.js
+3
-1
center-channel/app/base/service/impl/utilsSve/utilsPushSve.js
+2
-0
No files found.
center-channel/app/base/service/impl/utilsSve/utilsDeliverSystemSve.js
View file @
0ea691e6
...
@@ -14,6 +14,7 @@ class UtilsDeliverSystemService extends AppServiceBase {
...
@@ -14,6 +14,7 @@ class UtilsDeliverSystemService extends AppServiceBase {
* @param {*} pobj
* @param {*} pobj
*/
*/
async
pushBusiness2DeliverSystem
(
pobj
)
{
//推送业务信息到交付系统
async
pushBusiness2DeliverSystem
(
pobj
)
{
//推送业务信息到交付系统
console
.
log
(
pobj
,
"pushBusiness2DeliverSystem-zhuangbing------------------------------"
);
var
verifyResult
=
await
this
.
verifyParam
(
pobj
);
var
verifyResult
=
await
this
.
verifyParam
(
pobj
);
if
(
verifyResult
.
status
!=
0
)
{
if
(
verifyResult
.
status
!=
0
)
{
return
await
this
.
disposePushResultFail
(
pobj
,
verifyResult
,
"deliver->pushBusiness2DeliverSystem->verifyResult"
,
this
.
pushlogFailType
.
FQ
);
return
await
this
.
disposePushResultFail
(
pobj
,
verifyResult
,
"deliver->pushBusiness2DeliverSystem->verifyResult"
,
this
.
pushlogFailType
.
FQ
);
...
@@ -36,7 +37,8 @@ class UtilsDeliverSystemService extends AppServiceBase {
...
@@ -36,7 +37,8 @@ class UtilsDeliverSystemService extends AppServiceBase {
},
},
requestId
:
pobj
.
requestId
||
""
// N 请求id
requestId
:
pobj
.
requestId
||
""
// N 请求id
}
}
await
this
.
opQueuePushClientPost
(
pobj
,
this
.
opPushQueueUrl
,
reqParams
);
var
opQueuePushClientPostRes
=
await
this
.
opQueuePushClientPost
(
pobj
,
this
.
opPushQueueUrl
,
reqParams
);
console
.
log
(
opQueuePushClientPostRes
,
"pushBusiness2DeliverSystem-zhuangbing----2--------------------------"
);
}
}
//--------------------------------------------------内部辅助方法-------------------start-----------------
//--------------------------------------------------内部辅助方法-------------------start-----------------
...
...
center-channel/app/base/service/impl/utilsSve/utilsPushSve.js
View file @
0ea691e6
...
@@ -165,6 +165,8 @@ class UtilsPushService extends AppServiceBase {
...
@@ -165,6 +165,8 @@ class UtilsPushService extends AppServiceBase {
var
reqUrl
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
reqUrl
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
productItemInterfaceResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
var
productItemInterfaceResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
pobj
.
interface_info
=
productItemInterfaceResult
.
data
;
pobj
.
interface_info
=
productItemInterfaceResult
.
data
;
console
.
log
(
pobj
,
"baiduBusiness2Delivery-zhuangbing------------------------------"
+
opType
);
console
.
log
(
productItemInterfaceResult
);
//日志记录
//日志记录
this
.
logCtl
.
info
({
this
.
logCtl
.
info
({
appid
:
pobj
.
appInfo
?
pobj
.
appInfo
.
uapp_id
||
""
:
""
,
appid
:
pobj
.
appInfo
?
pobj
.
appInfo
.
uapp_id
||
""
:
""
,
...
...
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