1
This commit is contained in:
@@ -31,6 +31,7 @@ func (c *TiktokShopController) TokenMsg() {
|
||||
return
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("data=====err%s", string(data))
|
||||
if err := json.Unmarshal(data, &code); err != nil {
|
||||
globals.SugarLogger.Debugf("Unmarshal=====err%s", utils.Format4Output(err, false))
|
||||
c.Data["json"] = tiktok_api.CallbackResponse{Code: tiktok_api.CallbackFailCode, Msg: tiktok_api.CallbackFail}
|
||||
|
||||
Reference in New Issue
Block a user