Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjh5
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data_server
gjjh5
Commits
228a5682
Commit
228a5682
authored
May 05, 2019
by
姜登
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gjjh5
parent
a1ce6c30
Pipeline
#6820
passed with stage
in 8 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
partner.js
app/service/partner.js
+4
-2
No files found.
app/service/partner.js
View file @
228a5682
...
@@ -104,8 +104,8 @@ class PartnerService extends Service {
...
@@ -104,8 +104,8 @@ class PartnerService extends Service {
contentType
:
'json'
,
contentType
:
'json'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
{
data
:
{
orderId
,
order
_id
:
order
Id
,
user
Id
,
user
_id
:
userId
||
''
,
status
:
'success'
,
status
:
'success'
,
},
},
}
}
...
@@ -114,6 +114,8 @@ class PartnerService extends Service {
...
@@ -114,6 +114,8 @@ class PartnerService extends Service {
if
(
ret
.
status
===
200
)
{
if
(
ret
.
status
===
200
)
{
await
order
.
update
({
notice
:
'1'
});
await
order
.
update
({
notice
:
'1'
});
}
}
}
else
{
ctx
.
logger
.
info
(
'【Partner】 notice no send'
,
'orderId:'
,
orderId
);
}
}
return
;
return
;
}
}
...
...
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