aa
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"fmt"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"github.com/astaxie/beego/server/web"
|
||||
"io/ioutil"
|
||||
)
|
||||
|
||||
type AliApiController struct {
|
||||
@@ -17,11 +16,7 @@ type CallBack struct {
|
||||
}
|
||||
|
||||
func (c *AliApiController) SecretNumberMsg() {
|
||||
data, _ := ioutil.ReadAll(c.Ctx.Request.Body)
|
||||
values, _ := utils.HTTPBody2Values(data, false)
|
||||
fmt.Println(values)
|
||||
mapData := utils.URLValues2Map(values)
|
||||
fmt.Println(mapData)
|
||||
fmt.Println(utils.Format4Output(c.Ctx.Request, true))
|
||||
c.Data["json"] = &CallBack{
|
||||
Code: 0,
|
||||
Msg: "成功",
|
||||
|
||||
Reference in New Issue
Block a user