From 21363ce66f0a4995f25135eb165528172c674ac2 Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Mon, 12 Jun 2023 14:19:39 +0800 Subject: [PATCH] cp --- corn/cron.go | 7 ------- cron/cron.go | 2 ++ 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 corn/cron.go diff --git a/corn/cron.go b/corn/cron.go deleted file mode 100644 index 09bf09f..0000000 --- a/corn/cron.go +++ /dev/null @@ -1,7 +0,0 @@ -package cron - -import "hilo-user/corn/cp_corn" - -func Init() { - cp_corn.CpInviteCancelInit() -} diff --git a/cron/cron.go b/cron/cron.go index d034cf6..f9256e3 100644 --- a/cron/cron.go +++ b/cron/cron.go @@ -2,6 +2,7 @@ package cron import ( "git.hilo.cn/hilo-common/resource/config" + "hilo-user/corn/cp_corn" "hilo-user/cron/cp_cron" "hilo-user/cron/gift_cron" ) @@ -14,4 +15,5 @@ func Init() { gift_cron.GiftRemark() // 礼物消息补偿 cp_cron.ClearCpExpire() // 清理过期cp cp_cron.CpAnniversaryNotice() // cp纪念日 + cp_corn.CpInviteCancelInit() // cp邀请、解除到期结算 } -- 2.22.0