书籍列表接口新增参数

This commit is contained in:
2025-08-13 15:19:42 +08:00
parent 6ccc87f2bf
commit 8afe651c64
201 changed files with 6987 additions and 1066 deletions

View File

@ -0,0 +1,16 @@
package system
import (
"context"
"server/internal/model"
"server/internal/service"
"server/api/system/v1"
)
func (c *ControllerV1) SystemSave(ctx context.Context, req *v1.SystemSaveReq) (res *v1.SystemSaveRes, err error) {
return nil, service.System().Save(ctx, &model.SystemSaveInput{
Key: req.Key,
Value: req.Value,
})
}