This commit is contained in:
邹宗楠
2022-10-06 11:36:19 +08:00
30 changed files with 1609 additions and 504 deletions

View File

@@ -39,7 +39,6 @@ func MsgFail() *TicktockRes {
}
func (c *TicTocController) TiktokMsg() {
//if c.Ctx.Input.Method() == http.MethodPost {
call, refund, payType, err := api.TiktokApi.GetCallbackMsg(getPayInfo(c.Ctx))
globals.SugarLogger.Debugf("tictok callback callbackResponse:%s", utils.Format4Output(call, true))
if err != nil || call == nil {
@@ -55,9 +54,6 @@ func (c *TicTocController) TiktokMsg() {
}
c.Data["json"] = MsgSuccess()
c.ServeJSON()
//} else {
// c.Abort("404")
//}
}
func getPayInfo(ctx *context.Context) *http.Request {