diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 68e3ed2..b0af55a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,9 +2,9 @@ name: Go on: push: - branches: [ master,release-* ] + branches: [ master,release-*,v2 ] pull_request: - branches: [ master,release-* ] + branches: [ master,release-*,v2 ] jobs: golangci: diff --git a/pay/notify/refund.go b/pay/notify/refund.go index af04ca4..f31d57b 100644 --- a/pay/notify/refund.go +++ b/pay/notify/refund.go @@ -35,7 +35,7 @@ type RefundedReqInfo struct { SettlementRefundFee *int `xml:"settlement_refund_fee"` RefundStatus *string `xml:"refund_status"` SuccessTime *string `xml:"success_time"` - RefundRecvAccount *string `xml:"refund_recv_account"` + RefundRecvAccount *string `xml:"refund_recv_accout"` RefundAccount *string `xml:"refund_account"` RefundRequestSource *string `xml:"refund_request_source"` } diff --git a/work/msgaudit/client_unsupport.go b/work/msgaudit/client_unsupport.go index 1c31af0..d256d55 100644 --- a/work/msgaudit/client_unsupport.go +++ b/work/msgaudit/client_unsupport.go @@ -1,4 +1,4 @@ -// +build !linux +// +build !linux linux,!cgo //Package msgaudit for unsupport platform package msgaudit @@ -15,5 +15,5 @@ type Client struct { // NewClient new func NewClient(cfg *config.Config) (*Client, error) { - return nil, fmt.Errorf("会话存档功能目前只支持Linux平台运行") + return nil, fmt.Errorf("会话存档功能目前只支持Linux平台运行,并且打开设置CGO_ENABLED=1") }