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
48037cc9
Commit
48037cc9
authored
Aug 19, 2020
by
王勇飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add faild company_name
parent
c5ef7b49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
center-manage/app/base/service/impl/common/channelhandlers/aliCloud.js
+11
-7
No files found.
center-manage/app/base/service/impl/common/channelhandlers/aliCloud.js
View file @
48037cc9
...
...
@@ -15,7 +15,7 @@ class AliHandler {
* @param {*} datajson
*/
//新商机处理
async
addChance
(
datajson
)
{
async
addChance
(
datajson
)
{
console
.
log
(
"put in queue [addChance]"
,
datajson
);
try
{
var
cachestr
=
sha235
(
JSON
.
stringify
(
datajson
));
...
...
@@ -70,7 +70,7 @@ class AliHandler {
}
}
async
updateChanceStatus
(
datajson
)
{
async
updateChanceStatus
(
datajson
)
{
console
.
log
(
"put in queue [updateChanceStatus]"
+
JSON
.
stringify
(
datajson
)
+
"DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD"
);
try
{
var
cachestr
=
sha235
(
JSON
.
stringify
(
datajson
));
...
...
@@ -114,7 +114,7 @@ class AliHandler {
//退回商机处理
async
needClose
(
datajson
)
{
async
needClose
(
datajson
)
{
console
.
log
(
"put in queue"
+
JSON
.
stringify
(
datajson
)
+
"DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD"
);
try
{
var
cachestr
=
sha235
(
JSON
.
stringify
(
datajson
));
...
...
@@ -193,7 +193,7 @@ class AliHandler {
}
//交付单处理
async
pushOrderDelivery
(
datajson
,
channelobj
)
{
async
pushOrderDelivery
(
datajson
,
channelobj
)
{
console
.
log
(
"put in queue-----------------------------------------------------------------------------------------------------"
,
datajson
);
try
{
console
.
log
(
"交付单数据:"
+
JSON
.
stringify
(
datajson
));
...
...
@@ -298,7 +298,7 @@ class AliHandler {
}
//客户状态处理
async
deliveryNotify
(
datajson
)
{
async
deliveryNotify
(
datajson
)
{
try
{
var
cachestr
=
sha235
(
JSON
.
stringify
(
datajson
));
var
cacheInfo
=
await
this
.
cacheManager
[
"AliCache"
].
getCache
(
cachestr
);
...
...
@@ -384,7 +384,7 @@ class AliHandler {
}
}
async
actionBodyHandler
(
actionBody
)
{
async
actionBodyHandler
(
actionBody
)
{
let
data
=
actionBody
;
let
obj
=
{};
obj
.
baseInfo
=
{};
...
...
@@ -402,9 +402,12 @@ class AliHandler {
obj
.
servicerName
=
data
.
servicer
.
name
;
}
}
if
(
data
.
channelNeedNo
)
{
if
(
data
.
channelNeedNo
)
{
//需求编号
obj
.
businessMode
=
data
.
channelNeedNo
;
}
if
(
data
.
channelSolutionNo
)
{
//方案编号
obj
.
schemeNumber
=
data
.
channelSolutionNo
;
}
if
(
data
.
needsolution
.
solution
.
Area
)
{
//服务地区编码和服务地区
obj
.
serviceCode
=
data
.
needsolution
.
solution
.
Area
;
obj
.
serviceName
=
data
.
needsolution
.
solution
.
Area
;
...
...
@@ -412,6 +415,7 @@ class AliHandler {
}
if
(
data
.
needsolution
.
solution
.
CompanyName
)
{
//公司名称
obj
.
baseInfo
.
companyName
=
data
.
needsolution
.
solution
.
CompanyName
;
obj
.
companyName
=
data
.
needsolution
.
solution
.
CompanyName
;
}
if
(
data
.
needsolution
.
solution
.
CompanyAddress
)
{
//公司地址
obj
.
baseInfo
.
companyAddress
=
data
.
needsolution
.
solution
.
CompanyAddress
;
...
...
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