Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
taxh5
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
taxh5
Commits
8ff64eac
Commit
8ff64eac
authored
Mar 21, 2019
by
何娜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taxH5
parent
062be9fa
Pipeline
#4785
passed with stage
in 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
notifyUrl.js
app/schedule/notifyUrl.js
+3
-6
No files found.
app/schedule/notifyUrl.js
View file @
8ff64eac
...
...
@@ -17,10 +17,8 @@ module.exports = {
timeout
:
[
'30s'
,
'30s'
],
dataType
:
'json'
,
contentType
:
'json'
,
gzip
:
true
});
ctx
.
logger
.
info
(
'notifyUrlCode'
,
JSON
.
stringify
(
ret
.
data
.
code
));
if
(
ret
.
data
.
code
==
'0'
)
{
if
(
ret
.
data
.
code
===
0
)
{
ret
.
data
.
data
.
customerList
.
map
(
customer
=>
{
if
(
'callBackUrl'
in
customer
)
{
notifyMap
.
set
(
customer
.
appKey
,
{
notifyUrl
:
customer
.
callBackUrl
});
...
...
@@ -31,5 +29,5 @@ module.exports = {
}
catch
(
e
)
{
ctx
.
logger
.
error
(
'【schedule/notifyUrlTask】catch error:'
,
JSON
.
stringify
(
e
));
}
}
};
\ No newline at end of file
},
};
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