This commit is contained in:
@@ -32,9 +32,9 @@ func NewGetPaymentMethodListLogic(ctx context.Context, svcCtx *svc.ServiceContex
|
||||
|
||||
func (l *GetPaymentMethodListLogic) GetPaymentMethodList(req *types.GetPaymentMethodListRequest) (resp *types.GetPaymentMethodListResponse, err error) {
|
||||
total, list, err := l.svcCtx.PaymentModel.FindListByPage(l.ctx, req.Page, req.Size, &payment.Filter{
|
||||
Search: req.Search,
|
||||
Mark: req.Platform,
|
||||
Enable: req.Enable,
|
||||
Search: req.Search,
|
||||
Platform: req.Platform,
|
||||
Enable: req.Enable,
|
||||
})
|
||||
if err != nil {
|
||||
l.Errorw("find payment method list error", logger.Field("error", err.Error()))
|
||||
|
||||
Reference in New Issue
Block a user