NextZen-UserService/model/sys_common.go

23 lines
467 B
Go
Raw Permalink Normal View History

2024-02-21 11:45:10 +07:00
package model
type CommonModel struct {
RuntimePath string
}
type APPModel struct {
2024-08-14 12:06:18 +07:00
LogPath string
LogSaveName string
LogFileExt string
UserDataPath string
DBPath string
OMVServer string
AuthentikServer string
SecretKey string
2024-02-21 11:45:10 +07:00
}
type Result struct {
Success int `json:"success" example:"200"`
Message string `json:"message" example:"ok"`
2024-10-02 10:49:27 +07:00
Data interface{} `json:"data" example:"Return result"`
2024-02-21 11:45:10 +07:00
}