diff --git a/corn/cron.go b/corn/cron.go deleted file mode 100644 index 09bf09f3ca6f8a9de1d56bc2d53d69ed4486e3d0..0000000000000000000000000000000000000000 --- 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 d034cf6ab9a43e653d6c5bc3dd35af8842516d45..f9256e36c67d8b01bc06ea30c12b2e4deeada76d 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邀请、解除到期结算 }