- refactored User service from IceWhaleTech/CasaOS as first modularized service
This commit is contained in:
Tiger Wang (王豫)
2022-08-04 19:14:53 -04:00
committed by GitHub
parent a71dd10757
commit e2b617e510
23 changed files with 1870 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
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:"返回结果"`
}