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
045a1ff9
Commit
045a1ff9
authored
Mar 11, 2022
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加日志
parent
8df5446b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
center-channel/app/base/service/impl/common/baseCenterOrderSve.js
+5
-3
No files found.
center-channel/app/base/service/impl/common/baseCenterOrderSve.js
View file @
045a1ff9
...
...
@@ -62,6 +62,7 @@ const baiduIcpStatus = {
class
BaseCenterOrderService
extends
AppServiceBase
{
constructor
()
{
super
();
this
.
execClientNew
=
system
.
getObject
(
"util.execClientNew"
);
this
.
centerOrderUrl
=
settings
.
centerOrderUrl
();
this
.
execClient
=
system
.
getObject
(
"util.execClient"
);
this
.
aliclient
=
system
.
getObject
(
"util.aliyunClient"
);
...
...
@@ -741,10 +742,11 @@ class BaseCenterOrderService extends AppServiceBase {
return
pushRes
;
}
//通知交付状态变更
//通知交付状态变更
-所有渠道状态更改
async
serviceProviderNotification
(
pobj
)
{
console
.
log
(
'zhuangtai ++++'
,
pobj
)
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
let
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
this
.
execClientNew
.
execLogs
(
"serviceProviderNotification-reqCenterOrderApi:"
,
pobj
,
"center-channel-serviceProviderNotification"
,
res
,
null
);
if
(
res
&&
res
.
status
==
0
&&
res
.
data
)
{
if
(
pobj
.
actionBody
.
isTest
&&
pobj
.
actionBody
.
isTest
==
1
){
var
reqPushParams
=
{};
...
...
@@ -829,7 +831,7 @@ class BaseCenterOrderService extends AppServiceBase {
};
//推送状态变更
var
baidu
=
await
this
.
baiduclient
.
baiduReqbyget
({
path
:
"/api/bla/provider/license/update"
,
reqbody
:
pushObj
});
console
.
log
(
'res.data baidu +++++'
,
baidu
)
this
.
execClientNew
.
execLogs
(
"serviceProviderNotification-baiduReqbyget:"
,
pushObj
,
"center-channel-serviceProviderNotification"
,
baidu
,
null
);
if
(
baidu
&&
baidu
.
data
&&
baidu
.
data
.
result
){
var
baiduFlag
=
200
}
else
{
...
...
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