1
This commit is contained in:
@@ -19,7 +19,10 @@ type TiktokShopController struct {
|
|||||||
// TokenMsg 抖音用户授权
|
// TokenMsg 抖音用户授权
|
||||||
func (c *TiktokShopController) TokenMsg() {
|
func (c *TiktokShopController) TokenMsg() {
|
||||||
codeList := c.Ctx.Request.URL.Query().Get("code")
|
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("codeList=====%s", utils.Format4Output(codeList, false))
|
||||||
|
globals.SugarLogger.Debugf("codeList2=====%s", utils.Format4Output(codeList2, false))
|
||||||
var code []string
|
var code []string
|
||||||
if err := json.Unmarshal([]byte(codeList), &code); err != nil {
|
if err := json.Unmarshal([]byte(codeList), &code); err != nil {
|
||||||
globals.SugarLogger.Debugf("codeList=====err%s", utils.Format4Output(err, false))
|
globals.SugarLogger.Debugf("codeList=====err%s", utils.Format4Output(err, false))
|
||||||
|
|||||||
Reference in New Issue
Block a user