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
f87c6d77
Commit
f87c6d77
authored
Dec 28, 2020
by
Sxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 百度云工商
parent
01952f14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
7 deletions
+19
-7
center-manage/app/base/service/impl/common/channelhandlers/baidu.js
+19
-7
No files found.
center-manage/app/base/service/impl/common/channelhandlers/baidu.js
View file @
f87c6d77
...
@@ -64,6 +64,10 @@ class BaiduHandler {
...
@@ -64,6 +64,10 @@ class BaiduHandler {
params
.
businessType
=
"food"
;
params
.
businessType
=
"food"
;
params
.
businessName
=
"food"
params
.
businessName
=
"food"
}
}
if
(
actionBody
.
type_code
==
"GSREG"
)
{
params
.
businessType
=
"companyCase"
;
params
.
businessName
=
"companyCase"
}
}
}
var
rtn
=
await
rc
.
execPost3
({
"d"
:
params
},
requrl
);
var
rtn
=
await
rc
.
execPost3
({
"d"
:
params
},
requrl
);
...
@@ -286,6 +290,13 @@ class BaiduHandler {
...
@@ -286,6 +290,13 @@ class BaiduHandler {
obj
.
serviceName
=
data
.
needsolution
.
solution
.
Area
;
obj
.
serviceName
=
data
.
needsolution
.
solution
.
Area
;
obj
.
baseInfo
.
serviceName
=
data
.
needsolution
.
solution
.
Area
;
obj
.
baseInfo
.
serviceName
=
data
.
needsolution
.
solution
.
Area
;
}
}
if
(
data
.
needsolution
.
solution
.
area
)
{
//服务地区编码和服务地区
obj
.
serviceCode
=
data
.
needsolution
.
solution
.
area
;
obj
.
serviceName
=
data
.
needsolution
.
solution
.
area
;
obj
.
baseInfo
.
serviceName
=
data
.
needsolution
.
solution
.
area
;
}
if
(
data
.
needsolution
.
solution
.
CompanyName
)
{
//公司名称
if
(
data
.
needsolution
.
solution
.
CompanyName
)
{
//公司名称
obj
.
baseInfo
.
companyName
=
data
.
needsolution
.
solution
.
CompanyName
;
obj
.
baseInfo
.
companyName
=
data
.
needsolution
.
solution
.
CompanyName
;
obj
.
companyName
=
data
.
needsolution
.
solution
.
CompanyName
;
obj
.
companyName
=
data
.
needsolution
.
solution
.
CompanyName
;
...
@@ -305,6 +316,14 @@ class BaiduHandler {
...
@@ -305,6 +316,14 @@ class BaiduHandler {
if
(
data
.
needsolution
.
solution
.
LicenseType
)
{
//⽹⽂类型:⽹络表演
if
(
data
.
needsolution
.
solution
.
LicenseType
)
{
//⽹⽂类型:⽹络表演
obj
.
baseInfo
.
licenseType
=
data
.
needsolution
.
solution
.
LicenseType
;
obj
.
baseInfo
.
licenseType
=
data
.
needsolution
.
solution
.
LicenseType
;
}
}
if
(
data
.
needsolution
.
solution
.
taxpayerType
)
{
//工商
obj
.
baseInfo
.
taxpayerType
=
data
.
needsolution
.
solution
.
taxpayerType
;
}
if
(
data
.
needsolution
.
solution
.
companyProperties
)
{
//工商
obj
.
baseInfo
.
companyProperties
=
data
.
needsolution
.
solution
.
companyProperties
;
}
if
(
data
.
needsolution
.
bizType
)
{
//产品编码
if
(
data
.
needsolution
.
bizType
)
{
//产品编码
if
(
data
.
needsolution
.
bizType
==
"icpsq"
)
{
if
(
data
.
needsolution
.
bizType
==
"icpsq"
)
{
...
@@ -344,16 +363,9 @@ class BaiduHandler {
...
@@ -344,16 +363,9 @@ class BaiduHandler {
if
(
data
.
needsolution
.
status
==
"PAID"
)
{
//已支付
if
(
data
.
needsolution
.
status
==
"PAID"
)
{
//已支付
obj
.
deliverStatus
=
"received"
;
obj
.
deliverStatus
=
"received"
;
}
}
if
(
data
.
needsolution
.
status
==
"USER_UPLOADED"
)
{
//已上传
obj
.
deliverStatus
=
"collecting"
;
}
if
(
data
.
needsolution
.
status
==
"USER_PAY_PRODUCE"
)
{
//已支付
if
(
data
.
needsolution
.
status
==
"USER_PAY_PRODUCE"
)
{
//已支付
obj
.
deliverStatus
=
"received"
;
obj
.
deliverStatus
=
"received"
;
}
}
if
(
data
.
needsolution
.
status
==
"USER_UPLOAD_PRODUCE"
)
{
//已上传
obj
.
deliverStatus
=
"collecting"
;
}
}
}
if
(
data
.
needsolution
.
customerRemark
)
{
//状态原因
if
(
data
.
needsolution
.
customerRemark
)
{
//状态原因
obj
.
statusReason
=
data
.
needsolution
.
customerRemark
;
obj
.
statusReason
=
data
.
needsolution
.
customerRemark
;
...
...
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