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
7ba3dc54
Commit
7ba3dc54
authored
Sep 29, 2020
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
laolan
parent
8891609f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
center-channel/app/base/service/impl/common/qcCenterOrderSve.js
+8
-10
No files found.
center-channel/app/base/service/impl/common/qcCenterOrderSve.js
View file @
7ba3dc54
...
...
@@ -222,7 +222,6 @@ class QcCenterOrderService extends AppServiceBase {
//服务商提交服务操作(文网文)2020-9-26
async
serviceSubmitOption
(
pobj
)
{
console
.
log
(
'sssssssss'
,
pobj
)
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
if
(
res
&&
res
.
status
==
0
&&
res
.
data
)
{
//推送数据至阿里
...
...
@@ -259,14 +258,14 @@ class QcCenterOrderService extends AppServiceBase {
//关闭需求
async
closeNeed
(
pobj
)
{
if
(
!
actionBody
.
channelN
eedNo
)
{
return
system
.
getResult
(
null
,
"actionBody.
channelN
eedNo can not be empty,100395"
);
if
(
!
pobj
.
actionBody
.
n
eedNo
)
{
return
system
.
getResult
(
null
,
"actionBody.
n
eedNo can not be empty,100395"
);
}
if
(
!
actionBody
.
note
)
{
if
(
!
pobj
.
actionBody
.
note
)
{
return
system
.
getResult
(
null
,
"actionBody.note can not be empty,100395"
);
}
var
self
=
this
;
pobj
.
actionBody
.
intentionBizId
=
pobj
.
actionBody
.
channelN
eedNo
;
pobj
.
actionBody
.
intentionBizId
=
pobj
.
actionBody
.
n
eedNo
;
pobj
.
actionType
=
"abolishIcpProgrammeByNeed"
var
reqUrl
=
this
.
centerOrderUrl
+
"action/qcapi/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
...
...
@@ -291,7 +290,7 @@ class QcCenterOrderService extends AppServiceBase {
//推送交付系统
var
reqParams
=
{
actionBody
:
{
intentionBizId
:
pobj
.
actionBody
.
channelN
eedNo
,
intentionBizId
:
pobj
.
actionBody
.
n
eedNo
,
status
:
"closeNeed"
},
opType
:
"updateChanceStatus"
,
...
...
@@ -309,7 +308,7 @@ class QcCenterOrderService extends AppServiceBase {
optitle
:
"updateChanceStatus推送蜂擎获取的接口信息->aliBusiness2Delivery"
,
});
// 推送ali
var
a
=
await
self
.
aliclient
.
reqbyget
({
action
:
"CloseIntentionForPartner"
,
reqbody
:
{
BizId
:
actionBody
.
channelN
eedNo
,
BizType
:
"esp.wangwen"
},
apiVersion
:
"2019-03-06"
});
var
a
=
await
self
.
aliclient
.
reqbyget
({
action
:
"CloseIntentionForPartner"
,
reqbody
:
{
BizId
:
pobj
.
actionBody
.
n
eedNo
,
BizType
:
"esp.wangwen"
},
apiVersion
:
"2019-03-06"
});
self
.
utilsPushSve
.
aliBusiness2Fq
(
pobj
,
"pushCloseICPNeed"
);
return
system
.
getResultSuccess
();
}
else
{
...
...
@@ -320,8 +319,8 @@ class QcCenterOrderService extends AppServiceBase {
//提交沟通记录
async
recordLog
(
pobj
)
{
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
if
(
!
pobj
.
actionBody
.
intentionBizId
)
{
return
system
.
getResult
(
null
,
"actionBody.
intentionBizId
can not be empty,100491"
);
if
(
!
pobj
.
actionBody
.
needNo
)
{
return
system
.
getResult
(
null
,
"actionBody.
needNo
can not be empty,100491"
);
}
if
(
!
pobj
.
actionBody
.
note
)
{
return
system
.
getResult
(
null
,
"actionBody.note can not be empty,100492"
);
...
...
@@ -329,7 +328,6 @@ class QcCenterOrderService extends AppServiceBase {
var
self
=
this
;
var
reqUrl
=
this
.
centerOrderUrl
+
"action/need/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
console
.
log
(
"res"
,
res
)
//推送交付系统
var
reqParams
=
{
actionBody
:
{
...
...
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