chore: move server package to root
This commit is contained in:
12
server/common/resp.go
Normal file
12
server/common/resp.go
Normal file
@ -0,0 +1,12 @@
|
||||
package common
|
||||
|
||||
type Resp struct {
|
||||
Code int `json:"code"`
|
||||
Message string `json:"message"`
|
||||
Data interface{} `json:"data"`
|
||||
}
|
||||
|
||||
type PageResp struct {
|
||||
Content interface{} `json:"content"`
|
||||
Total int64 `json:"total"`
|
||||
}
|
Reference in New Issue
Block a user