This commit is contained in:
邹宗楠
2022-10-24 17:51:58 +08:00
parent ddd27fb327
commit 172778ff03

View File

@@ -19,7 +19,10 @@ type TiktokShopController struct {
// TokenMsg 抖音用户授权
func (c *TiktokShopController) TokenMsg() {
codeList := c.Ctx.Request.URL.Query().Get("code")
codeList2 := c.Ctx.Request.URL.Query().Get("Code")
globals.SugarLogger.Debugf("codeList0=====%s", utils.Format4Output(c.Ctx.Request.URL.Query(), false))
globals.SugarLogger.Debugf("codeList=====%s", utils.Format4Output(codeList, false))
globals.SugarLogger.Debugf("codeList2=====%s", utils.Format4Output(codeList2, false))
var code []string
if err := json.Unmarshal([]byte(codeList), &code); err != nil {
globals.SugarLogger.Debugf("codeList=====err%s", utils.Format4Output(err, false))