|
@@ -2,8 +2,8 @@ package http_model
|
|
|
|
|
|
// CommonResponse 接口通用的返回结构体
|
|
|
type CommonResponse struct {
|
|
|
- Status int32 `json:"status"`
|
|
|
- Message string `json:"message"`
|
|
|
+ Status int32 `json:"code"`
|
|
|
+ Message string `json:"msg"`
|
|
|
Data interface{} `json:"data"`
|
|
|
}
|
|
|
type CommonRequest interface {
|