mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-12-08 01:06:07 +08:00
发布v2.8.4版本,更新内容请查看:https://github.com/bufanyun/hotgo/tree/v2.0/docs/guide-zh-CN/addon-version-upgrade.md
This commit is contained in:
@@ -18,7 +18,7 @@ import (
|
||||
)
|
||||
|
||||
// Notify 异步通知
|
||||
func (s *sPay) Notify(ctx context.Context, in payin.PayNotifyInp) (res *payin.PayNotifyModel, err error) {
|
||||
func (s *sPay) Notify(ctx context.Context, in *payin.PayNotifyInp) (res *payin.PayNotifyModel, err error) {
|
||||
data, err := payment.New(in.PayType).Notify(ctx, payin.NotifyInp{})
|
||||
if err != nil {
|
||||
return
|
||||
@@ -80,6 +80,6 @@ func (s *sPay) Notify(ctx context.Context, in payin.PayNotifyInp) (res *payin.Pa
|
||||
}
|
||||
|
||||
// 回调业务
|
||||
payment.NotifyCall(ctx, payin.NotifyCallFuncInp{Pay: models})
|
||||
payment.NotifyCall(ctx, &payin.NotifyCallFuncInp{Pay: models})
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user