|
@@ -81,10 +81,6 @@ func SendMapResponse(c *binding_context.Context, statusCode int, data map[string
|
|
|
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 {
|
|
|
Success bool `json:"success"`
|
|
|
ErrCode int `json:"errCode"`
|