This commit is contained in:
richboo111
2023-09-08 17:46:02 +08:00
parent 91598cf420
commit e3e02f582d

View File

@@ -19,6 +19,7 @@ type SFPSController struct {
func (c *SFPSController) SfOrder() {
if c.Ctx.Input.Method() == http.MethodPost {
msg, callbackResponse := api.SfPsAPI.GetCallbackUrlIndex(c.Ctx.Request)
fmt.Printf("SfOrder callbackResponse=%s", utils.Format4Output(callbackResponse, false))
if callbackResponse.ErrorCode == -1 {
c.Data["data"] = -1
c.ServeJSON()