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
53f2c7c0
Commit
53f2c7c0
authored
Aug 27, 2020
by
任晓松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d24e31c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
center-channel/app/base/service/impl/utilsSve/utilsDeliverSve.js
+5
-6
No files found.
center-channel/app/base/service/impl/utilsSve/utilsDeliverSve.js
View file @
53f2c7c0
...
@@ -16,7 +16,7 @@ class utilsDeliverSve extends AppServiceBase{
...
@@ -16,7 +16,7 @@ class utilsDeliverSve extends AppServiceBase{
*/
*/
async
pushTmReDeliver
(
pobj
){
async
pushTmReDeliver
(
pobj
){
try
{
try
{
var
verifyResult
=
await
this
.
verifyParam
(
pobj
);
var
verifyResult
=
await
this
.
verifyParam
(
pobj
.
actionBody
);
if
(
verifyResult
.
status
!=
0
){
if
(
verifyResult
.
status
!=
0
){
return
system
.
getResultFail
();
return
system
.
getResultFail
();
}
}
...
@@ -35,14 +35,13 @@ class utilsDeliverSve extends AppServiceBase{
...
@@ -35,14 +35,13 @@ class utilsDeliverSve extends AppServiceBase{
* @returns {Promise<{msg: *, data, status: number}>}
* @returns {Promise<{msg: *, data, status: number}>}
*/
*/
async
verifyParam
(
actionBody
)
{
async
verifyParam
(
actionBody
)
{
let
verify
=
system
.
getResultSuccess
();
let
deliveryData
=
""
;
let
deliveryData
=
""
;
let
orderNo
=
""
;
let
orderNo
=
""
;
let
tradeStatus
=
''
;
let
tradeStatus
=
''
;
let
applicant
=
{};
let
applicant
=
{};
if
(
actionBody
.
delivery_content
){
if
(
actionBody
.
delivery_content
){
deliveryData
=
actionBody
.
delivery_content
[
0
].
deliveryContent
;
deliveryData
=
actionBody
.
delivery_content
;
orderNo
=
actionBody
.
delivery_content
[
0
].
sourceO
rderNo
;
orderNo
=
actionBody
.
order_info
.
o
rderNo
;
}
}
if
(
actionBody
.
deliveryData
){
if
(
actionBody
.
deliveryData
){
deliveryData
=
actionBody
.
deliveryData
;
deliveryData
=
actionBody
.
deliveryData
;
...
@@ -89,8 +88,8 @@ class utilsDeliverSve extends AppServiceBase{
...
@@ -89,8 +88,8 @@ class utilsDeliverSve extends AppServiceBase{
askForData
:
deliveryData
.
askForData
,
askForData
:
deliveryData
.
askForData
,
supData
:
deliveryData
.
supData
supData
:
deliveryData
.
supData
}
}
verify
.
data
=
postData
;
return
verify
;
return
system
.
getResultSuccess
(
postData
)
;
}
}
/**
/**
...
...
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