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
9ac6af0f
Commit
9ac6af0f
authored
Sep 11, 2020
by
Sxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 返回队列code
parent
999334ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
center-manage/app/base/service/impl/common/channelhandlers/aliCloud.js
+9
-6
No files found.
center-manage/app/base/service/impl/common/channelhandlers/aliCloud.js
View file @
9ac6af0f
...
...
@@ -16,7 +16,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
));
...
...
@@ -71,7 +71,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
));
...
...
@@ -112,6 +112,9 @@ class AliHandler {
}
let
rtn
=
await
rc
.
execPost3
({
"d"
:
stau
},
requrl
);
//更新商机状态为已完成
var
j
=
JSON
.
parse
(
rtn
.
stdout
);
if
(
j
.
status
==
0
)
{
j
.
status
=
1
;
}
return
j
}
}
catch
(
error
)
{
...
...
@@ -121,7 +124,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
));
...
...
@@ -200,7 +203,7 @@ class AliHandler {
}
//交付单处理
async
pushOrderDelivery
(
datajson
,
channelobj
)
{
async
pushOrderDelivery
(
datajson
,
channelobj
)
{
console
.
log
(
"put in queue-----------------------------------------------------------------------------------------------------"
,
datajson
);
try
{
console
.
log
(
"交付单数据:"
+
JSON
.
stringify
(
datajson
));
...
...
@@ -316,7 +319,7 @@ class AliHandler {
}
//客户状态处理
async
deliveryNotify
(
datajson
)
{
async
deliveryNotify
(
datajson
)
{
try
{
var
cachestr
=
sha235
(
JSON
.
stringify
(
datajson
));
var
cacheInfo
=
await
this
.
cacheManager
[
"AliCache"
].
getCache
(
cachestr
);
...
...
@@ -402,7 +405,7 @@ class AliHandler {
}
}
async
actionBodyHandler
(
actionBody
)
{
async
actionBodyHandler
(
actionBody
)
{
let
data
=
actionBody
;
let
obj
=
{};
obj
.
baseInfo
=
{};
...
...
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