Add: Ping router
This commit is contained in:
9
serializer/common.go
Normal file
9
serializer/common.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package serializer
|
||||
|
||||
// Response 基础序列化器
|
||||
type Response struct {
|
||||
Code int `json:"code"`
|
||||
Data interface{} `json:"data,omitempty"`
|
||||
Msg string `json:"msg"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user