model/response/common.go @@ -13,3 +13,9 @@ Data interface{} `json:"data"` Count int64 `json:"count"` } type Response struct { Code int `json:"code"` Msg string `json:"msg"` Data interface{} `json:"data"` }