transfer_middleware/cmd/rpc/transferClient/transfer.go

303 lines
20 KiB
Go

// Code generated by goctl. DO NOT EDIT.
// Source: transfer.proto
package transferClient
import (
"context"
"trasfer_middleware/cmd/rpc/pb/transfer"
"github.com/zeromicro/go-zero/zrpc"
"google.golang.org/grpc"
)
type (
Address = transfer.Address
BillCus = transfer.BillCus
DefaultReq = transfer.DefaultReq
DefaultRes = transfer.DefaultRes
EmptyReqs = transfer.EmptyReqs
Express = transfer.Express
ExpressData = transfer.ExpressData
ExpressList = transfer.ExpressList
GoodsChild = transfer.GoodsChild
GoodsStructWithChild = transfer.GoodsStructWithChild
GoodsStructWithChildData = transfer.GoodsStructWithChildData
GoodsStructWithChildData_Media = transfer.GoodsStructWithChildData_Media
List = transfer.List
MarketKeyDiscardReq = transfer.MarketKeyDiscardReq
MarketKeyDiscardRes = transfer.MarketKeyDiscardRes
MarketKeyDiscardRes_Data = transfer.MarketKeyDiscardRes_Data
MarketKeySendReq = transfer.MarketKeySendReq
MarketKeySendRes = transfer.MarketKeySendRes
MarketKeySendRes_Data = transfer.MarketKeySendRes_Data
MarketQueryReq = transfer.MarketQueryReq
MarketQueryRes = transfer.MarketQueryRes
MarketQueryRes_Data = transfer.MarketQueryRes_Data
NewMarketDiscardReq = transfer.NewMarketDiscardReq
NewMarketDiscardRes = transfer.NewMarketDiscardRes
NewMarketOrderReq = transfer.NewMarketOrderReq
NewMarketOrderRes = transfer.NewMarketOrderRes
NewMarketOrderRes_Data = transfer.NewMarketOrderRes_Data
NewMarketQueryReq = transfer.NewMarketQueryReq
OrderAfterOpBasic = transfer.OrderAfterOpBasic
OrderAfterOpGoodsInfo = transfer.OrderAfterOpGoodsInfo
OrderOpBasicInfo = transfer.OrderOpBasicInfo
OrderOpGoodsInfo = transfer.OrderOpGoodsInfo
OrderOpLogistics = transfer.OrderOpLogistics
OrderOpSubmitGoodsInfo = transfer.OrderOpSubmitGoodsInfo
PhysicalAddressListReq = transfer.PhysicalAddressListReq
PhysicalAddressListRes = transfer.PhysicalAddressListRes
PhysicalCusBalanceRes = transfer.PhysicalCusBalanceRes
PhysicalCusBalanceResData = transfer.PhysicalCusBalanceResData
PhysicalCusLogsReq = transfer.PhysicalCusLogsReq
PhysicalCusLogsRes = transfer.PhysicalCusLogsRes
PhysicalCusLogsRes_BalanceLog = transfer.PhysicalCusLogsRes_BalanceLog
PhysicalCusLogsRes_PhysicalCusLogsResDataList = transfer.PhysicalCusLogsRes_PhysicalCusLogsResDataList
PhysicalExpressListReq = transfer.PhysicalExpressListReq
PhysicalExpressListRes = transfer.PhysicalExpressListRes
PhysicalExpressListResData = transfer.PhysicalExpressListResData
PhysicalFinanceBillReq = transfer.PhysicalFinanceBillReq
PhysicalFinanceBillRes = transfer.PhysicalFinanceBillRes
PhysicalFinanceBillResData = transfer.PhysicalFinanceBillResData
PhysicalGoodsDetailReq = transfer.PhysicalGoodsDetailReq
PhysicalGoodsListReq = transfer.PhysicalGoodsListReq
PhysicalGoodsListRes = transfer.PhysicalGoodsListRes
PhysicalGoodsStockReq = transfer.PhysicalGoodsStockReq
PhysicalGoodsStockRes = transfer.PhysicalGoodsStockRes
PhysicalGoodsStockResData = transfer.PhysicalGoodsStockResData
PhysicalGoodsStockResData_GoodsStock = transfer.PhysicalGoodsStockResData_GoodsStock
PhysicalOrderAfterApplyReq = transfer.PhysicalOrderAfterApplyReq
PhysicalOrderAfterApplyRes = transfer.PhysicalOrderAfterApplyRes
PhysicalOrderAfterApplyResData = transfer.PhysicalOrderAfterApplyResData
PhysicalOrderAfterApplyResData_ApplyOrderAfterByOpenapiReply = transfer.PhysicalOrderAfterApplyResData_ApplyOrderAfterByOpenapiReply
PhysicalOrderAfterReturnReq = transfer.PhysicalOrderAfterReturnReq
PhysicalOrderAfterReturnRes = transfer.PhysicalOrderAfterReturnRes
PhysicalOrderAfterReturnResData = transfer.PhysicalOrderAfterReturnResData
PhysicalOrderCloseReq = transfer.PhysicalOrderCloseReq
PhysicalOrderCloseRes = transfer.PhysicalOrderCloseRes
PhysicalOrderCloseResData = transfer.PhysicalOrderCloseResData
PhysicalOrderInfoReq = transfer.PhysicalOrderInfoReq
PhysicalOrderInfoRes = transfer.PhysicalOrderInfoRes
PhysicalOrderInfoRes_PhysicalOrderInfoResData = transfer.PhysicalOrderInfoRes_PhysicalOrderInfoResData
PhysicalOrderInfoRes_PhysicalOrderInfoResData_OrderInfoData = transfer.PhysicalOrderInfoRes_PhysicalOrderInfoResData_OrderInfoData
PhysicalOrderListReq = transfer.PhysicalOrderListReq
PhysicalOrderListRes = transfer.PhysicalOrderListRes
PhysicalOrderListResData = transfer.PhysicalOrderListResData
PhysicalOrderLogisticsLogsReq = transfer.PhysicalOrderLogisticsLogsReq
PhysicalOrderLogisticsLogsRes = transfer.PhysicalOrderLogisticsLogsRes
PhysicalOrderLogisticsLogsResData = transfer.PhysicalOrderLogisticsLogsResData
PhysicalOrderSubReq = transfer.PhysicalOrderSubReq
PhysicalOrderSubRes = transfer.PhysicalOrderSubRes
PhysicalOrderSubResData = transfer.PhysicalOrderSubResData
RsCouponGrantReq = transfer.RsCouponGrantReq
RsCouponGrantRes = transfer.RsCouponGrantRes
RsCouponGrantRes_Data = transfer.RsCouponGrantRes_Data
RsCouponGrantRes_Data_VoucherInfo = transfer.RsCouponGrantRes_Data_VoucherInfo
ZltxOrderCardQueryReq = transfer.ZltxOrderCardQueryReq
ZltxOrderCardQueryRes = transfer.ZltxOrderCardQueryRes
ZltxOrderCardReq = transfer.ZltxOrderCardReq
ZltxOrderRechargeQueryReq = transfer.ZltxOrderRechargeQueryReq
ZltxOrderRechargeQueryRes = transfer.ZltxOrderRechargeQueryRes
ZltxOrderRechargeReq = transfer.ZltxOrderRechargeReq
ZltxOrderSmsReq = transfer.ZltxOrderSmsReq
ZltxOrderSmsRes = transfer.ZltxOrderSmsRes
ZltxRechargeInfoRes = transfer.ZltxRechargeInfoRes
ZltxRechargeProductRes = transfer.ZltxRechargeProductRes
ZltxRechargeProductRes_Product = transfer.ZltxRechargeProductRes_Product
Transfer interface {
ZltxOrderRecharge(ctx context.Context, in *ZltxOrderRechargeReq, opts ...grpc.CallOption) (*DefaultRes, error)
ZltxOrderRechargeQuery(ctx context.Context, in *ZltxOrderRechargeQueryReq, opts ...grpc.CallOption) (*ZltxOrderRechargeQueryRes, error)
ZltxOrderCard(ctx context.Context, in *ZltxOrderCardReq, opts ...grpc.CallOption) (*DefaultRes, error)
ZltxOrderCardQuery(ctx context.Context, in *ZltxOrderCardQueryReq, opts ...grpc.CallOption) (*ZltxOrderCardQueryRes, error)
ZltxOrderSms(ctx context.Context, in *ZltxOrderSmsReq, opts ...grpc.CallOption) (*ZltxOrderSmsRes, error)
ZltxRechargeInfo(ctx context.Context, in *DefaultReq, opts ...grpc.CallOption) (*ZltxRechargeInfoRes, error)
ZltxRechargeProduct(ctx context.Context, in *DefaultReq, opts ...grpc.CallOption) (*ZltxRechargeProductRes, error)
ZltxRsMiXue(ctx context.Context, in *RsCouponGrantReq, opts ...grpc.CallOption) (*RsCouponGrantRes, error)
MarketKeySend(ctx context.Context, in *MarketKeySendReq, opts ...grpc.CallOption) (*MarketKeySendRes, error)
MarketKeyDiscard(ctx context.Context, in *MarketKeyDiscardReq, opts ...grpc.CallOption) (*MarketKeyDiscardRes, error)
MarketQuery(ctx context.Context, in *MarketQueryReq, opts ...grpc.CallOption) (*MarketQueryRes, error)
RsCouponGrant(ctx context.Context, in *RsCouponGrantReq, opts ...grpc.CallOption) (*RsCouponGrantRes, error)
NewMarketOrder(ctx context.Context, in *NewMarketOrderReq, opts ...grpc.CallOption) (*NewMarketOrderRes, error)
NewMarketQuery(ctx context.Context, in *NewMarketQueryReq, opts ...grpc.CallOption) (*NewMarketOrderRes, error)
NewMarketDiscard(ctx context.Context, in *NewMarketDiscardReq, opts ...grpc.CallOption) (*NewMarketDiscardRes, error)
PhysicalGoodsList(ctx context.Context, in *PhysicalGoodsListReq, opts ...grpc.CallOption) (*PhysicalGoodsListRes, error)
PhysicalGoodsDetail(ctx context.Context, in *PhysicalGoodsDetailReq, opts ...grpc.CallOption) (*GoodsStructWithChild, error)
PhysicalGoodsStock(ctx context.Context, in *PhysicalGoodsStockReq, opts ...grpc.CallOption) (*PhysicalGoodsStockRes, error)
PhysicalCusLogs(ctx context.Context, in *PhysicalCusLogsReq, opts ...grpc.CallOption) (*PhysicalCusLogsRes, error)
PhysicalCusBalance(ctx context.Context, in *EmptyReqs, opts ...grpc.CallOption) (*PhysicalCusBalanceRes, error)
PhysicalExpressList(ctx context.Context, in *PhysicalExpressListReq, opts ...grpc.CallOption) (*PhysicalExpressListRes, error)
PhysicalAddressList(ctx context.Context, in *PhysicalAddressListReq, opts ...grpc.CallOption) (*PhysicalAddressListRes, error)
PhysicalFinanceBill(ctx context.Context, in *PhysicalFinanceBillReq, opts ...grpc.CallOption) (*PhysicalFinanceBillRes, error)
PhysicalOrderInfo(ctx context.Context, in *PhysicalOrderInfoReq, opts ...grpc.CallOption) (*PhysicalOrderInfoRes, error)
PhysicalOrderList(ctx context.Context, in *PhysicalOrderListReq, opts ...grpc.CallOption) (*PhysicalOrderListRes, error)
PhysicalOrderSub(ctx context.Context, in *PhysicalOrderSubReq, opts ...grpc.CallOption) (*PhysicalOrderSubRes, error)
PhysicalOrderClose(ctx context.Context, in *PhysicalOrderCloseReq, opts ...grpc.CallOption) (*PhysicalOrderCloseRes, error)
PhysicalOrderLogisticsLogs(ctx context.Context, in *PhysicalOrderLogisticsLogsReq, opts ...grpc.CallOption) (*PhysicalOrderLogisticsLogsRes, error)
PhysicalOrderAfterApply(ctx context.Context, in *PhysicalOrderAfterApplyReq, opts ...grpc.CallOption) (*PhysicalOrderAfterApplyRes, error)
PhysicalOrderAfterReturn(ctx context.Context, in *PhysicalOrderAfterReturnReq, opts ...grpc.CallOption) (*PhysicalOrderAfterReturnRes, error)
}
defaultTransfer struct {
cli zrpc.Client
}
)
func NewTransfer(cli zrpc.Client) Transfer {
return &defaultTransfer{
cli: cli,
}
}
func (m *defaultTransfer) ZltxOrderRecharge(ctx context.Context, in *ZltxOrderRechargeReq, opts ...grpc.CallOption) (*DefaultRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.ZltxOrderRecharge(ctx, in, opts...)
}
func (m *defaultTransfer) ZltxOrderRechargeQuery(ctx context.Context, in *ZltxOrderRechargeQueryReq, opts ...grpc.CallOption) (*ZltxOrderRechargeQueryRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.ZltxOrderRechargeQuery(ctx, in, opts...)
}
func (m *defaultTransfer) ZltxOrderCard(ctx context.Context, in *ZltxOrderCardReq, opts ...grpc.CallOption) (*DefaultRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.ZltxOrderCard(ctx, in, opts...)
}
func (m *defaultTransfer) ZltxOrderCardQuery(ctx context.Context, in *ZltxOrderCardQueryReq, opts ...grpc.CallOption) (*ZltxOrderCardQueryRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.ZltxOrderCardQuery(ctx, in, opts...)
}
func (m *defaultTransfer) ZltxOrderSms(ctx context.Context, in *ZltxOrderSmsReq, opts ...grpc.CallOption) (*ZltxOrderSmsRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.ZltxOrderSms(ctx, in, opts...)
}
func (m *defaultTransfer) ZltxRechargeInfo(ctx context.Context, in *DefaultReq, opts ...grpc.CallOption) (*ZltxRechargeInfoRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.ZltxRechargeInfo(ctx, in, opts...)
}
func (m *defaultTransfer) ZltxRechargeProduct(ctx context.Context, in *DefaultReq, opts ...grpc.CallOption) (*ZltxRechargeProductRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.ZltxRechargeProduct(ctx, in, opts...)
}
func (m *defaultTransfer) ZltxRsMiXue(ctx context.Context, in *RsCouponGrantReq, opts ...grpc.CallOption) (*RsCouponGrantRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.ZltxRsMiXue(ctx, in, opts...)
}
func (m *defaultTransfer) MarketKeySend(ctx context.Context, in *MarketKeySendReq, opts ...grpc.CallOption) (*MarketKeySendRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.MarketKeySend(ctx, in, opts...)
}
func (m *defaultTransfer) MarketKeyDiscard(ctx context.Context, in *MarketKeyDiscardReq, opts ...grpc.CallOption) (*MarketKeyDiscardRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.MarketKeyDiscard(ctx, in, opts...)
}
func (m *defaultTransfer) MarketQuery(ctx context.Context, in *MarketQueryReq, opts ...grpc.CallOption) (*MarketQueryRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.MarketQuery(ctx, in, opts...)
}
func (m *defaultTransfer) RsCouponGrant(ctx context.Context, in *RsCouponGrantReq, opts ...grpc.CallOption) (*RsCouponGrantRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.RsCouponGrant(ctx, in, opts...)
}
func (m *defaultTransfer) NewMarketOrder(ctx context.Context, in *NewMarketOrderReq, opts ...grpc.CallOption) (*NewMarketOrderRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.NewMarketOrder(ctx, in, opts...)
}
func (m *defaultTransfer) NewMarketQuery(ctx context.Context, in *NewMarketQueryReq, opts ...grpc.CallOption) (*NewMarketOrderRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.NewMarketQuery(ctx, in, opts...)
}
func (m *defaultTransfer) NewMarketDiscard(ctx context.Context, in *NewMarketDiscardReq, opts ...grpc.CallOption) (*NewMarketDiscardRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.NewMarketDiscard(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalGoodsList(ctx context.Context, in *PhysicalGoodsListReq, opts ...grpc.CallOption) (*PhysicalGoodsListRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalGoodsList(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalGoodsDetail(ctx context.Context, in *PhysicalGoodsDetailReq, opts ...grpc.CallOption) (*GoodsStructWithChild, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalGoodsDetail(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalGoodsStock(ctx context.Context, in *PhysicalGoodsStockReq, opts ...grpc.CallOption) (*PhysicalGoodsStockRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalGoodsStock(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalCusLogs(ctx context.Context, in *PhysicalCusLogsReq, opts ...grpc.CallOption) (*PhysicalCusLogsRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalCusLogs(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalCusBalance(ctx context.Context, in *EmptyReqs, opts ...grpc.CallOption) (*PhysicalCusBalanceRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalCusBalance(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalExpressList(ctx context.Context, in *PhysicalExpressListReq, opts ...grpc.CallOption) (*PhysicalExpressListRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalExpressList(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalAddressList(ctx context.Context, in *PhysicalAddressListReq, opts ...grpc.CallOption) (*PhysicalAddressListRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalAddressList(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalFinanceBill(ctx context.Context, in *PhysicalFinanceBillReq, opts ...grpc.CallOption) (*PhysicalFinanceBillRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalFinanceBill(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalOrderInfo(ctx context.Context, in *PhysicalOrderInfoReq, opts ...grpc.CallOption) (*PhysicalOrderInfoRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalOrderInfo(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalOrderList(ctx context.Context, in *PhysicalOrderListReq, opts ...grpc.CallOption) (*PhysicalOrderListRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalOrderList(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalOrderSub(ctx context.Context, in *PhysicalOrderSubReq, opts ...grpc.CallOption) (*PhysicalOrderSubRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalOrderSub(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalOrderClose(ctx context.Context, in *PhysicalOrderCloseReq, opts ...grpc.CallOption) (*PhysicalOrderCloseRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalOrderClose(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalOrderLogisticsLogs(ctx context.Context, in *PhysicalOrderLogisticsLogsReq, opts ...grpc.CallOption) (*PhysicalOrderLogisticsLogsRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalOrderLogisticsLogs(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalOrderAfterApply(ctx context.Context, in *PhysicalOrderAfterApplyReq, opts ...grpc.CallOption) (*PhysicalOrderAfterApplyRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalOrderAfterApply(ctx, in, opts...)
}
func (m *defaultTransfer) PhysicalOrderAfterReturn(ctx context.Context, in *PhysicalOrderAfterReturnReq, opts ...grpc.CallOption) (*PhysicalOrderAfterReturnRes, error) {
client := transfer.NewTransferClient(m.cli.Conn())
return client.PhysicalOrderAfterReturn(ctx, in, opts...)
}