测试鼎
This commit is contained in:
@@ -2,7 +2,6 @@ package controllers
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
|
||||
@@ -19,7 +18,6 @@ type JdsController struct {
|
||||
}
|
||||
|
||||
func (c *JdsController) Msg() {
|
||||
fmt.Println("testjdscll")
|
||||
if c.Ctx.Input.Method() == http.MethodPost {
|
||||
ctx := c.Ctx
|
||||
ctx.Request.Body = ioutil.NopCloser(bytes.NewReader(ctx.Input.RequestBody))
|
||||
|
||||
Reference in New Issue
Block a user