Commit a26346d1 authored by 姜登's avatar 姜登

nodelimit

parent f7caeb24
Pipeline #7131 passed with stage
in 4 seconds
......@@ -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));
}
......
......@@ -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 = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment