Commit 1eed7e4f authored by 李尚科's avatar 李尚科

fix

parent ea0f0552
Pipeline #12327 passed with stage
in 23 seconds
......@@ -20,7 +20,7 @@ class HuaYunPaas extends Subscription {
async subscribe() {
const { ctx, app } = this;
if (['https://pro-nginx.jianbing.com', 'https://lan-nginx.jianbing.com'].includes(this.config.NODE_BASE_URL)) {
if (['https://pro-nginx.jianbing.com', 'https://lan-nginx.jianbing.com', 'https://p.jianbing.com'].includes(this.config.NODE_BASE_URL)) {
//用redis的setnx来实现锁机制
let lock = 'huayun:pass:cron:' + moment().format('MMDD');
ctx.logger.info(lock);
......
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