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
8f6e7037
Commit
8f6e7037
authored
Aug 20, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Plain Diff
testneed ok
parents
743de989
1c9e83fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+18
-7
center-channel/app/base/service/impl/utilsSve/utilsPushSve.js
+1
-1
No files found.
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
8f6e7037
...
...
@@ -227,6 +227,7 @@ class UtilsNeedService extends AppServiceBase {
intentionBizId
:
pobj
.
actionBody
.
channelNeedNo
,
status
:
"closeNeed"
},
opType
:
"updateChanceStatus"
,
appInfo
:
pobj
.
appInfo
}
self
.
utilsPushSve
.
aliBusiness2Delivery
(
reqParams
,
"updateChanceStatus"
);
...
...
@@ -305,7 +306,23 @@ class UtilsNeedService extends AppServiceBase {
pobj
.
actionType
=
"receiveIcpStatusNotify"
;
var
url
=
settings
.
centerOrderUrl
()
+
"action/qcapi/springBoard"
;
var
rtn
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
rtn
.
status
==
0
&&
actionBody
.
status
!=
1
&&
rtn
.
data
)
{
if
(
actionBody
.
status
==
2
){
var
deliveryObj
=
{
actionBody
:
{
orderNo
:
rtn
.
data
.
orderNo
,
//pobj.actionBody.channelOrder.channelOrderNo,
needsolution
:
rtn
.
data
.
solutionContent
,
channelNeedNo
:
rtn
.
data
.
channelNeedNo
,
channelSolutionNo
:
rtn
.
data
.
channelSolutionNo
,
servicer
:
{
code
:
'gsb'
,
name
:
'公司宝'
}
},
appInfo
:
pobj
.
appInfo
}
this
.
utilsPushSve
.
aliBusiness2Delivery
(
deliveryObj
,
"pushDeliveryOrder"
);
}
if
(
rtn
.
status
==
0
&&
actionBody
.
status
!=
1
&&
actionBody
.
status
!=
2
&&
rtn
.
data
)
{
var
tmpObj
=
{
actionBody
:
{
orderNo
:
rtn
.
data
.
orderNo
,
...
...
@@ -456,12 +473,6 @@ class UtilsNeedService extends AppServiceBase {
}
// async updatestatusali(){
// var sql="select * from n_need_info WHERE followContent is not null and typeCode in ('icpsq','edisq')"
// }
urlSplit
(
url
)
{
var
arr
=
url
.
split
(
"?"
)[
1
];
//根据?跟个url
var
arr2
=
arr
[
1
].
split
(
"&"
);
//根据&重新分割参数
...
...
center-channel/app/base/service/impl/utilsSve/utilsPushSve.js
View file @
8f6e7037
...
...
@@ -20,7 +20,7 @@ class UtilsPushService extends AppServiceBase {
op
:
"service/impl/utilsSve/utilsPushSve.js/service/app.base.js/aliBusiness2Delivery"
,
content
:
JSON
.
stringify
(
pobj
),
resultInfo
:
productItemInterfaceResult
.
data
?
JSON
.
stringify
(
productItemInterfaceResult
.
data
)
:
"接口数据为空"
,
optitle
:
pobj
.
opType
+
"推送蜂擎获取的接口信息->aliBusiness2Delivery"
,
optitle
:
opType
+
"推送蜂擎获取的接口信息->aliBusiness2Delivery"
,
});
if
(
pobj
.
interface_info
)
{
await
this
.
pushBusInfo
(
pobj
,
opType
,
1
);
...
...
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