From e22d2776e7f3814b66e5e41966ad579e7b14e247 Mon Sep 17 00:00:00 2001 From: injoyai <1113655791@qq.com> Date: Mon, 24 Feb 2025 17:00:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manage.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manage.go b/manage.go index 209b475..6b42c32 100644 --- a/manage.go +++ b/manage.go @@ -51,6 +51,7 @@ func NewManage(cfg *ManageConfig, op ...client.Option) (*Manage, error) { return &Manage{ Pool: p, + Config: cfg, Codes: codes, Workday: workday, Cron: cron.New(cron.WithSeconds()), @@ -59,6 +60,7 @@ func NewManage(cfg *ManageConfig, op ...client.Option) (*Manage, error) { type Manage struct { *Pool + Config *ManageConfig Codes *Codes Workday *Workday Cron *cron.Cron