mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
first commit
This commit is contained in:
17
web/entity/entity.go
Normal file
17
web/entity/entity.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package entity
|
||||
|
||||
type Msg struct {
|
||||
Success bool `json:"success"`
|
||||
Msg string `json:"msg"`
|
||||
Obj interface{} `json:"obj"`
|
||||
}
|
||||
|
||||
type Pager struct {
|
||||
Current int `json:"current"`
|
||||
PageSize int `json:"page_size"`
|
||||
Total int `json:"total"`
|
||||
OrderBy string `json:"order_by"`
|
||||
Desc bool `json:"desc"`
|
||||
Key string `json:"key"`
|
||||
List interface{} `json:"list"`
|
||||
}
|
||||
Reference in New Issue
Block a user