From fa8f45fc4ee1ed4851aa5032ffe176da8173c7ca Mon Sep 17 00:00:00 2001 From: public_host Date: Thu, 18 Jan 2024 17:38:23 +0800 Subject: [PATCH] 'fix' --- hasaki-gen-crud/template.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hasaki-gen-crud/template.go b/hasaki-gen-crud/template.go index afc5609..93ae784 100644 --- a/hasaki-gen-crud/template.go +++ b/hasaki-gen-crud/template.go @@ -312,6 +312,7 @@ func (TempLowHead3A60 *Temp3A60) Data() (data []Temp3A60) { } } for i := range data { + data[i].service = TempLowHead3A60.service data[i].init() } return @@ -372,6 +373,7 @@ func (TempLowHead3A60 *Temp3A60) PageData(page, pageSize int) (data []Temp3A60, } for i := range data { + data[i].service = TempLowHead3A60.service data[i].init() } return