Browse Source

删除新加方法

yjp 1 year ago
parent
commit
3a96ce40c3
1 changed files with 0 additions and 4 deletions
  1. 0 4
      http_binding/response/response.go

+ 0 - 4
http_binding/response/response.go

@@ -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"`