书籍列表接口新增参数

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

16
api/system/system.go Normal file
View File

@ -0,0 +1,16 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package system
import (
"context"
"server/api/system/v1"
)
type ISystemV1 interface {
SystemSave(ctx context.Context, req *v1.SystemSaveReq) (res *v1.SystemSaveRes, err error)
SystemVersion(ctx context.Context, req *v1.SystemVersionReq) (res *v1.SystemVersionRes, err error)
}

19
api/system/v1/system.go Normal file
View File

@ -0,0 +1,19 @@
package v1
import "github.com/gogf/gf/v2/frame/g"
type SystemSaveReq struct {
g.Meta `path:"/system/save" method:"post" tags:"Backend/System" sm:"(管理员)保存系统设置"`
Key string
Value string
}
type SystemSaveRes struct {
}
type SystemVersionReq struct {
g.Meta `path:"/system/version" method:"get" tags:"APP/System" sm:"(访客、用户、管理员)获取版本信息"`
}
type SystemVersionRes struct {
Ios map[string]string `json:"ios"`
Android map[string]string `json:"android"`
}