Browse Source

修改bug

yjp 1 year ago
parent
commit
7147ce3c3e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      http_binding/response/response.go

+ 1 - 0
http_binding/response/response.go

@@ -172,6 +172,7 @@ func SendWXOrderResponse(c *binding_context.Context, statusCode int, _ any, err
 			"return_code": "FAIL",
 			"return_msg":  err.Error(),
 		})
+		return
 	}
 
 	c.XML(statusCode, map[string]any{