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
f4d708ae
Commit
f4d708ae
authored
Aug 06, 2020
by
王栋源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdy
parent
5e49b5b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
24 deletions
+36
-24
center-channel/app/base/service/impl/common/qcCenterOrderSve.js
+17
-11
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+19
-13
No files found.
center-channel/app/base/service/impl/common/qcCenterOrderSve.js
View file @
f4d708ae
...
@@ -56,21 +56,27 @@ class QcCenterOrderService extends AppServiceBase {
...
@@ -56,21 +56,27 @@ class QcCenterOrderService extends AppServiceBase {
//推送方案
//推送方案
await
this
.
pushIcpSolution
(
pushObj
,
needsolution
.
solutionNo
,
pobj
.
appInfo
,
self
);
await
this
.
pushIcpSolution
(
pushObj
,
needsolution
.
solutionNo
,
pobj
.
appInfo
,
self
);
// 2020 0806 lin 新增推送
// // 2020 0806 lin 新增推送
// var reqParams = {
// actionType: "produceData",// Y 功能名称
// actionBody: {
// pushUrl: pushUrl,// Y 推送地址
// actionType: "updateChanceStatus",// Y 推送地址接收时的功能名称
// notifyUrl: "",// N 推送成功后通知的Url
// identifyCode: "ali.vat",// Y 操作的业务标识
// messageBody: pobj.actionBody, // Y 推送的业务消息,必须有一项对象属性值
// headData: ""//N 请求头信息,Json格式,如:{token:"XXXXXXX"}
// },
// requestId: pobj.requestId || "" // N 请求id
// }
// this.opQueuePushClientPost(pobj, this.opPushQueueUrl, reqParams);
var
reqParams
=
{
var
reqParams
=
{
actionType
:
"produceData"
,
// Y 功能名称
actionBody
:
{
actionBody
:
{
pushUrl
:
pushUrl
,
// Y 推送地址
intentionBizId
:
needinfo
.
channelNeedNo
actionType
:
"updateChanceStatus"
,
// Y 推送地址接收时的功能名称
notifyUrl
:
""
,
// N 推送成功后通知的Url
identifyCode
:
"ali.vat"
,
// Y 操作的业务标识
messageBody
:
pobj
.
actionBody
,
// Y 推送的业务消息,必须有一项对象属性值
headData
:
""
//N 请求头信息,Json格式,如:{token:"XXXXXXX"}
},
},
requestId
:
pobj
.
requestId
||
""
// N 请求id
appInfo
:
pobj
.
appInfo
}
}
this
.
opQueuePushClientPost
(
pobj
,
this
.
opPushQueueUrl
,
reqParams
);
this
.
utilsPushSve
.
aliBusiness2Delivery
(
reqParams
,
"updateChanceStatus"
);
return
system
.
getResultSuccess
();
return
system
.
getResultSuccess
();
}
}
return
res
;
return
res
;
...
...
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
f4d708ae
...
@@ -52,21 +52,26 @@ class UtilsNeedService extends AppServiceBase {
...
@@ -52,21 +52,26 @@ class UtilsNeedService extends AppServiceBase {
}
else
{
}
else
{
pobj
.
actionBody
.
type
=
"ali.edi"
;
pobj
.
actionBody
.
type
=
"ali.edi"
;
}
}
// 2020 0806 lin 新增推送
// // 2020 0806 lin 新增推送
// var reqParams = {
// actionType: "produceData",// Y 功能名称
// actionBody: {
// pushUrl: interface_params_info.pushUrl,// Y 推送地址
// actionType: "addChance",// Y 推送地址接收时的功能名称
// notifyUrl: "",// N 推送成功后通知的Url
// identifyCode: "ali.vat",// Y 操作的业务标识
// messageBody: pobj.actionBody, // Y 推送的业务消息,必须有一项对象属性值
// headData: ""//N 请求头信息,Json格式,如:{token:"XXXXXXX"}
// },
// requestId: pobj.requestId || "" // N 请求id
// }
// this.opQueuePushClientPost(pobj, this.opPushQueueUrl, reqParams);
var
reqParams
=
{
var
reqParams
=
{
actionType
:
"produceData"
,
// Y 功能名称
actionBody
:
pobj
.
actionBody
,
actionBody
:
{
appInfo
:
pobj
.
appInfo
pushUrl
:
interface_params_info
.
pushUrl
,
// Y 推送地址
actionType
:
"addChance"
,
// Y 推送地址接收时的功能名称
notifyUrl
:
""
,
// N 推送成功后通知的Url
identifyCode
:
"ali.vat"
,
// Y 操作的业务标识
messageBody
:
pobj
.
actionBody
,
// Y 推送的业务消息,必须有一项对象属性值
headData
:
""
//N 请求头信息,Json格式,如:{token:"XXXXXXX"}
},
requestId
:
pobj
.
requestId
||
""
// N 请求id
}
}
this
.
opQueuePushClientPost
(
pobj
,
this
.
opPushQueueUrl
,
reqParams
);
this
.
utilsPushSve
.
aliBusiness2Delivery
(
reqParams
,
"addChance"
);
this
.
utilsPushSve
.
aliBusiness2Fq
(
pobj
,
"pushNeedICPBusiness"
);
this
.
utilsPushSve
.
aliBusiness2Fq
(
pobj
,
"pushNeedICPBusiness"
);
}
}
...
@@ -300,6 +305,7 @@ class UtilsNeedService extends AppServiceBase {
...
@@ -300,6 +305,7 @@ class UtilsNeedService extends AppServiceBase {
var
tmpObj
=
{
var
tmpObj
=
{
actionBody
:
{
actionBody
:
{
orderNo
:
rtn
.
data
.
orderNo
,
orderNo
:
rtn
.
data
.
orderNo
,
channelNeedNo
:
rtn
.
data
.
channelNeedNo
,
needsolution
:
rtn
.
data
.
solutionContent
needsolution
:
rtn
.
data
.
solutionContent
},
},
appInfo
:
pobj
.
appInfo
appInfo
:
pobj
.
appInfo
...
...
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