This commit is contained in:
邹宗楠
2022-10-24 18:05:18 +08:00
parent 1ec7da442b
commit 51855b9251

View File

@@ -9,6 +9,7 @@ import (
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego/server/web"
"io/ioutil"
"time"
)
@@ -18,6 +19,10 @@ type TiktokShopController struct {
// TokenMsg 抖音用户授权
func (c *TiktokShopController) TokenMsg() {
body, _ := ioutil.ReadAll(c.Ctx.Request.Body)
globals.SugarLogger.Debugf("body=====%s", string(body))
codeValues := c.Ctx.Request.URL.Query()
globals.SugarLogger.Debugf("codeValues=====%s", utils.Format4Output(codeValues, false))