书籍列表接口新增参数
This commit is contained in:
19
api/system/v1/system.go
Normal file
19
api/system/v1/system.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user