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