NextZen-UserService/model/sys_common.go
Tiger Wang (王豫) e2b617e510
(#1)
- refactored User service from IceWhaleTech/CasaOS as first modularized service
2022-08-04 19:14:53 -04:00

20 lines
379 B
Go

package model
type CommonModel struct {
RuntimePath string
}
type APPModel struct {
LogPath string
LogSaveName string
LogFileExt string
UserDataPath string
DBPath string
}
type Result struct {
Success int `json:"success" example:"200"`
Message string `json:"message" example:"ok"`
Data interface{} `json:"data" example:"返回结果"`
}