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
932cf2ef
Commit
932cf2ef
authored
Mar 17, 2022
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理百度
parent
78b288cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
4 deletions
+40
-4
center-channel/app/base/api/impl/action/qcapi.js
+0
-3
center-channel/app/base/service/impl/common/baseCenterOrderSve.js
+40
-1
No files found.
center-channel/app/base/api/impl/action/qcapi.js
View file @
932cf2ef
...
...
@@ -54,9 +54,6 @@ class QcAPI extends APIBase {
break
;
case
"serviceProviderNotification"
:
//交付商通知状态变更
opResult
=
await
this
.
baseOrderSve
.
serviceProviderNotification
(
pobj
);
if
(
pobj
&&
pobj
.
actionBody
&&
pobj
.
actionBody
.
status
==
511
)
{
this
.
baseOrderSve
.
serviceProviderSubmitMaterial
(
pobj
);
}
break
;
case
"closeOrderDelivery"
:
//交付商关闭交付单
opResult
=
await
this
.
qcCenterOrderSve
.
closeOrderDelivery
(
pobj
);
...
...
center-channel/app/base/service/impl/common/baseCenterOrderSve.js
View file @
932cf2ef
...
...
@@ -849,10 +849,49 @@ class BaseCenterOrderService extends AppServiceBase {
reqbody
:
pushObj
}
let
baidu
=
await
this
.
baiduclient
.
baiduReqbyget
(
baiduParams
);
this
.
execClientNew
.
execLogs
(
"serviceProviderNotification-update-baiduReqbyget:"
,
baiduParams
,
"center-channel-serviceProviderNotification"
,
baidu
,
null
);
this
.
execClientNew
.
execLogs
(
"serviceProviderNotification-update
Status
-baiduReqbyget:"
,
baiduParams
,
"center-channel-serviceProviderNotification"
,
baidu
,
null
);
if
(
baidu
&&
baidu
.
data
&&
baidu
.
data
.
result
)
{
resFlag
=
200
}
//推送材料数据至百度用于更新订单状态完成
let
material
=
res
.
data
.
material
;
if
(
material
)
{
let
pushMaterialObj
=
{
"businessLicense"
:
{
"createdAt"
:
material
.
BusinessLicense
.
CreatedAt
||
""
,
"enterpriseCode"
:
material
.
BusinessLicense
.
EnterpriseCode
||
""
,
"legalRepresentative"
:
material
.
BusinessLicense
.
LegalRepresentative
||
""
,
"address"
:
material
.
BusinessLicense
.
Address
||
""
,
"registeredCapital"
:
material
.
BusinessLicense
.
RegisteredCapital
||
""
,
"name"
:
material
.
BusinessLicense
.
Name
||
""
,
"businessTerm"
:
material
.
BusinessLicense
.
BusinessTerm
||
""
,
"type"
:
material
.
BusinessLicense
.
Type
||
""
,
"scopeBusiness"
:
material
.
BusinessLicense
.
ScopeBusiness
||
""
},
"partnerForeignInvestment"
:
material
.
PartnerForeignInvestment
||
""
,
"orderNo"
:
res
.
data
.
channelOrderNo
,
"domain"
:
material
.
Domain
,
"corporateName"
:
material
.
CorporateName
,
"includeForeignInvestment"
:
material
.
IncludeForeignInvestment
,
"partnerBusinessLicense"
:
material
.
PartnerBusinessLicense
,
"partnerIdCardList"
:
material
.
PartnerIdCardList
,
"partnerDomainCertificate"
:
material
.
PartnerDomainCertificate
,
"partnerPreviewOtherList"
:
material
.
PartnerPreviewOtherList
||
[],
"partnerPlan"
:
material
.
PartnerPlan
||
""
,
"partnerLaw"
:
material
.
PartnerLaw
||
""
,
"partnerStampOtherList"
:
material
.
PartnerStampOtherList
||
[],
"partnerSignOtherList"
:
material
.
PartnerSignOtherList
||
[],
"partnerSignAndStampOtherList"
:
material
.
PartnerSignAndStampOtherList
||
[]
};
//推送方案材料
let
baiduMaterialParams
=
{
path
:
"/api/bla/provider/license/material"
,
reqbody
:
pushMaterialObj
}
let
baiduMaterial
=
await
self
.
baiduclient
.
baiduReqbyget
(
baiduMaterialParams
);
this
.
execClientNew
.
execLogs
(
"serviceProviderNotification-updateMaterial-baiduReqbyget:"
,
pushMaterialObj
,
"center-channel-serviceProviderNotification"
,
baiduMaterial
,
null
);
}
}
if
(
res
.
data
.
uapp_id
==
uappId
.
zc360
)
{
...
...
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