Skip to content

Commit

Permalink
fix:SendConsumptionInformation AppPay ch成功状态判断错误 (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferyjob authored Sep 3, 2024
1 parent f3b7c66 commit df2a9dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apple/consumption.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func (c *Client) SendConsumptionInformation(ctx context.Context, transactionId s
if err != nil {
return err
}
if res.StatusCode != http.StatusOK {
if res.StatusCode != http.StatusAccepted {
return fmt.Errorf("http.stauts_code = %d", res.StatusCode)
}
return nil
Expand Down

0 comments on commit df2a9dc

Please sign in to comment.