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
79a2f070
Commit
79a2f070
authored
Apr 16, 2021
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改推送
parent
52885c31
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
center-channel/app/base/service/impl/common/baseCenterOrderSve.js
+6
-6
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+5
-5
center-channel/app/base/service/impl/utilsSve/utilsPushSve.js
+2
-2
No files found.
center-channel/app/base/service/impl/common/baseCenterOrderSve.js
View file @
79a2f070
...
...
@@ -563,9 +563,9 @@ class BaseCenterOrderService extends AppServiceBase {
appInfo
:
pobj
.
appInfo
}
}
var
result
=
await
this
.
utilsPushSve
.
business2Channel
(
reqPushParams
,
"serviceProviderSubmit2Material"
);
console
.
log
(
'result+++-cailiao--++++----'
,
result
)
console
.
log
(
'result+++-reqPushParams--++++----'
,
reqPushParams
)
await
this
.
utilsPushSve
.
business2Channel
(
reqPushParams
,
"serviceProviderSubmit2Material"
);
//
console.log('result+++-cailiao--++++----',result)
//
console.log('result+++-reqPushParams--++++----',reqPushParams)
}
else
{
if
(
res
.
data
.
uapp_id
==
uappId
.
ali
){
//推送数据至阿里
...
...
@@ -792,9 +792,9 @@ class BaseCenterOrderService extends AppServiceBase {
appInfo
:
pobj
.
appInfo
}
}
var
result
=
await
this
.
utilsPushSve
.
business2Channel
(
reqPushParams
,
"serviceProvider2Notification"
);
console
.
log
(
'reqPushParams+++-状态变更--++++----'
,
reqPushParams
)
console
.
log
(
'result+++-状态变更--++++----'
,
result
)
await
this
.
utilsPushSve
.
business2Channel
(
reqPushParams
,
"serviceProvider2Notification"
);
//
console.log('reqPushParams+++-状态变更--++++----',reqPushParams)
//
console.log('result+++-状态变更--++++----',result)
}
else
{
if
(
res
.
data
.
uapp_id
==
uappId
.
ali
){
//推送数据至阿里
...
...
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
79a2f070
...
...
@@ -485,7 +485,7 @@ class UtilsNeedService extends AppServiceBase {
});
// 推送ali
var
a
=
await
self
.
aliclient
.
reqbyget
({
action
:
"CloseIntention"
,
reqbody
:
{
BizId
:
actionBody
.
channelNeedNo
,
Note
:
actionBody
.
note
},
apiVersion
:
"2019-05-08"
});
console
.
log
(
a
);
// console.log(a);//TODO:laolan添加日志记录
self
.
utilsPushSve
.
business2Channel
(
pobj
,
"pushCloseICPNeed"
);
}
return
result
...
...
@@ -1475,10 +1475,10 @@ class UtilsNeedService extends AppServiceBase {
appInfo
:
pobj
.
appInfo
}
console
.
log
(
tmpObj
)
var
res
=
await
this
.
utilsPushSve
.
business2Channel
(
tmpObj
,
"pushDeliveryStatusNotify"
);
console
.
log
(
"res"
)
console
.
log
(
res
);
console
.
log
(
"pushDeliveryStatusNotify end ------"
)
await
this
.
utilsPushSve
.
business2Channel
(
tmpObj
,
"pushDeliveryStatusNotify"
);
//
console.log("res")
//
console.log(res);
//
console.log("pushDeliveryStatusNotify end ------")
pobj
.
actionBody
.
orderNo
=
rtn
.
data
.
orderNo
;
if
(
actionBody
.
operationType
==
"ABC_CLOSE_PRODUCE"
)
{
var
orderrtn
=
await
self
.
utilsOrderSve
.
delOrder
(
pobj
,
pobj
.
actionBody
);
...
...
center-channel/app/base/service/impl/utilsSve/utilsPushSve.js
View file @
79a2f070
...
...
@@ -16,8 +16,8 @@ class UtilsPushService extends AppServiceBase {
//日志记录
this
.
execClientNew
.
execLogs
(
`
${
pobj
.
opType
}
推送蜂擎获取的接口信息->business2Channel->app(getAppInterface)`
,
pobj
,
"center-channel-utilsPushSve-business2Channel"
,
productItemInterfaceResult
.
data
,
null
);
if
(
pobj
.
interface_info
&&
pobj
.
interface_info
.
length
>
0
)
{
await
this
.
pushBusInfo
(
pobj
,
opType
,
1
);
return
system
.
getResultSuccess
();
let
tmpResult
=
await
this
.
pushBusInfo
(
pobj
,
opType
,
1
);
return
system
.
getResultSuccess
(
tmpResult
);
}
return
system
.
getResult
(
null
,
"push Fail,interface_info data is empty"
);
}
...
...
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