Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjj_api
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
gjj_api
Commits
a26346d1
Commit
a26346d1
authored
May 07, 2019
by
姜登
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nodelimit
parent
f7caeb24
Pipeline
#7131
passed with stage
in 4 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
notifyUrl.js
app/schedule/notifyUrl.js
+1
-1
partner.js
app/service/partner.js
+1
-0
No files found.
app/schedule/notifyUrl.js
View file @
a26346d1
...
...
@@ -24,8 +24,8 @@ module.exports = {
notifyMap
.
set
(
customer
.
appKey
,
{
notifyUrl
:
customer
.
callBackUrl
});
}
});
ctx
.
app
.
notifyMap
=
notifyMap
;
}
ctx
.
app
.
notifyMap
=
notifyMap
;
}
catch
(
e
)
{
ctx
.
logger
.
error
(
'【schedule/notifyUrlTask】catch error:'
,
JSON
.
stringify
(
e
));
}
...
...
app/service/partner.js
View file @
a26346d1
...
...
@@ -52,6 +52,7 @@ class PartnerService extends Service {
}
else
{
const
dbRes
=
await
ctx
.
model
.
NodeLimit
.
findAll
({
attributes
:
[
'appKey'
,
'currentCount'
,
'limitCount'
],
where
:
{
type
:
'gjj'
},
});
if
(
dbRes
)
{
const
appKeyArray
=
[];
...
...
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