This commit is contained in:
孟帅
2024-03-07 20:08:56 +08:00
parent 6dd8cbadad
commit 0fbc1ad47c
246 changed files with 9441 additions and 2293 deletions

View File

@@ -1,14 +1,15 @@
// Package sys
// @Link https://github.com/bufanyun/hotgo
// @Copyright Copyright (c) 2023 HotGo CLI
// @Copyright Copyright (c) 2024 HotGo CLI
// @Author Ms <133814250@qq.com>
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.11.5
// @AutoGenerate Version 2.12.10
package sys
import (
"context"
"hotgo/api/admin/curddemo"
"hotgo/internal/model/input/sysin"
"hotgo/internal/service"
)
@@ -25,6 +26,10 @@ func (c *cCurdDemo) List(ctx context.Context, req *curddemo.ListReq) (res *curdd
return
}
if list == nil {
list = []*sysin.CurdDemoListModel{}
}
res = new(curddemo.ListRes)
res.List = list
res.PageRes.Pack(req, totalCount)