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
d0778ddd
Commit
d0778ddd
authored
Apr 25, 2022
by
陈思聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:百度工商注册新流程
parent
77e88e0a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
center-manage/app/base/service/impl/common/channelhandlers/baidu.js
+24
-0
No files found.
center-manage/app/base/service/impl/common/channelhandlers/baidu.js
View file @
d0778ddd
...
...
@@ -4,6 +4,7 @@ var settings = require("../../../../../config/settings");
class
BaiduHandler
{
constructor
()
{
this
.
icUrl
=
settings
.
icUrl
()
+
"/web/bizchance"
;
this
.
icpUrl
=
settings
.
icpUrl
()
+
"/web/delive"
;
this
.
userService
=
system
.
getObject
(
"service.auth.userSve"
);
this
.
cmpService
=
system
.
getObject
(
"service.common.companySve"
);
this
.
msgService
=
system
.
getObject
(
"service.msg.msgSve"
)
...
...
@@ -220,6 +221,29 @@ class BaiduHandler {
}
}
//交付单材料处理
async
pushOrderDeliveryMaterial
(
datajson
,
channelobj
)
{
console
.
log
(
"pushOrderDeliveryMaterial stary -----------------------------------------------------------------------------------------------------"
,
datajson
);
try
{
console
.
log
(
"百度推过来的交付单材料数据:"
+
JSON
.
stringify
(
datajson
));
let
rc
=
system
.
getObject
(
"util.execClient"
);
let
obj
=
datajson
.
actionBody
;
let
requrl
=
this
.
icpUrl
+
"/companycaseCtl/receiveSubmitMaterialsFormBaidu"
;
//渠道名称和渠道编码
obj
.
channelSource
=
channelobj
.
name
;
obj
.
channelNumber
=
channelobj
.
code
var
rtn
=
await
rc
.
execPost3
({
"d"
:
obj
},
requrl
);
console
.
log
(
"pushOrderDeliveryMaterial插入数据成功---------------------------------"
+
rtn
.
stdout
);
var
j
=
JSON
.
parse
(
rtn
.
stdout
);
return
j
}
catch
(
error
)
{
console
.
log
(
"error-------------------------------------"
+
error
);
return
system
.
getResultError
(
error
);
}
}
//客户状态处理
async
deliveryNotify
(
datajson
)
{
...
...
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