20 lines
420 B
Go
20 lines
420 B
Go
|
package model
|
||
|
|
||
|
const (
|
||
|
SERVER_CONFIG = "config.yaml"
|
||
|
SERVER_DUBBOGO_CONFIG = "dubbogo.yaml"
|
||
|
MODE_ENV = "MODE_ENV"
|
||
|
)
|
||
|
|
||
|
type Response struct {
|
||
|
Status int `json:"status"`
|
||
|
Data interface{} `json:"data"`
|
||
|
Msg string `json:"msg"`
|
||
|
}
|
||
|
|
||
|
type PageInfo struct {
|
||
|
Page int32 `json:"page" query:"page"`
|
||
|
PageSize int32 `json:"pageSize" query:"pageSize"`
|
||
|
Total int32 `json:"total"`
|
||
|
}
|