|
@@ -81,10 +81,6 @@ func SendMapResponse(c *binding_context.Context, statusCode int, data map[string
|
|
c.JSON(statusCode, msgRespMap)
|
|
c.JSON(statusCode, msgRespMap)
|
|
}
|
|
}
|
|
|
|
|
|
-func SendRawMapResponse(c *binding_context.Context, statusCode int, data map[string]any, err error) {
|
|
|
|
- c.JSON(statusCode, data)
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
type MsgResponse struct {
|
|
type MsgResponse struct {
|
|
Success bool `json:"success"`
|
|
Success bool `json:"success"`
|
|
ErrCode int `json:"errCode"`
|
|
ErrCode int `json:"errCode"`
|