1
This commit is contained in:
@@ -19,6 +19,7 @@ type SFPSController struct {
|
|||||||
func (c *SFPSController) SfOrder() {
|
func (c *SFPSController) SfOrder() {
|
||||||
if c.Ctx.Input.Method() == http.MethodPost {
|
if c.Ctx.Input.Method() == http.MethodPost {
|
||||||
msg, callbackResponse := api.SfPsAPI.GetCallbackUrlIndex(c.Ctx.Request)
|
msg, callbackResponse := api.SfPsAPI.GetCallbackUrlIndex(c.Ctx.Request)
|
||||||
|
fmt.Printf("SfOrder callbackResponse=%s", utils.Format4Output(callbackResponse, false))
|
||||||
if callbackResponse.ErrorCode == -1 {
|
if callbackResponse.ErrorCode == -1 {
|
||||||
c.Data["data"] = -1
|
c.Data["data"] = -1
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
|
|||||||
Reference in New Issue
Block a user