From 1203f6f7a9bb89e424ed865c8dd56c89d811a184 Mon Sep 17 00:00:00 2001 From: lijikun Date: Wed, 4 Dec 2024 15:58:22 +0800 Subject: [PATCH] =?UTF-8?q?12.4=E6=97=A5=E8=B7=A8=E5=9F=9F=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E8=A7=A3=E5=86=B3,=E8=BF=94=E5=9B=9E=E5=88=B0?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E7=9A=84=E6=A0=BC=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/logic/shows/shows.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/logic/shows/shows.go b/internal/logic/shows/shows.go index f4eb473..6cac47c 100644 --- a/internal/logic/shows/shows.go +++ b/internal/logic/shows/shows.go @@ -11,6 +11,7 @@ import ( func init() { //GoFrame没有自动注册, 将sShow结构体的实例注册到服务中, 供其他部分访问 + service.RegisterShows(&sShow{}) //GoFrame没有自动注册 另外还需要在logic包下创建一个logic.go文件,并在其中导入本文件所在的shows包 }