order

package
v0.0.0-...-7a73484 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2021 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

消费相关任务入队列 @author yangzhiwu<578154898@qq.com> @date 2020/8/5 14:38

订单相关任务入队列 @author yangzhiwu<578154898@qq.com> @date 2020/8/5 14:38

***************************************** @Description: @Time : 2020/12/2 10:47 @Author :lixiaojun

******************************************

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consume

type Consume struct {
	client.Baseclient
}

func (*Consume) Init

func (c *Consume) Init() *Consume

func (*Consume) SetLogRelationId

func (c *Consume) SetLogRelationId(ctx context.Context, logRelationId *int, reply *bool) error

将消费记录索引主表的主键id加入交换机

type Order

type Order struct {
	client.Baseclient
}

func (*Order) CreatePdfFile

func (o *Order) CreatePdfFile(ctx context.Context, args *order.ArgsCreatePdfFile, reply *bool) error

购卡成功后生成pdf文件

func (*Order) Init

func (o *Order) Init() *Order

func (*Order) SetCardPackageRelationId

func (o *Order) SetCardPackageRelationId(ctx context.Context, cardPackageRelationId *int, reply *bool) error

将卡包主表的主键id加入交换机

func (*Order) TimeOutOrderid

func (o *Order) TimeOutOrderid(ctx context.Context, args *order.ArgsTimeOutOrderid, reply *bool) (err error)

订单超时未付款订单id加入交换机

func (*Order) TimeOutTemp

func (o *Order) TimeOutTemp(ctx context.Context, args *order.ArgsTimeOutTemp, reply *bool) error

挂单超时取消挂单

type PinganThirdOrder

type PinganThirdOrder struct {
	client.Baseclient
}

func (*PinganThirdOrder) Init

func (*PinganThirdOrder) PayThirdOrderSuc

func (p *PinganThirdOrder) PayThirdOrderSuc(ctx context.Context, id *int, reply *bool) error

将卡包主表的主键id加入交换机

type RefundOrder

type RefundOrder struct {
	client.Baseclient
}

func (*RefundOrder) Init

func (r *RefundOrder) Init() *RefundOrder

func (*RefundOrder) SetRefundOrderId

func (r *RefundOrder) SetRefundOrderId(ctx context.Context, refundOrderId *int, reply *bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL