2024-06-07 11:11:04 +08:00
|
|
|
// Code generated by goctl. DO NOT EDIT.
|
|
|
|
// Source: transfer.proto
|
|
|
|
|
|
|
|
package server
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"trasfer_middleware/cmd/rpc/internal/logic"
|
|
|
|
"trasfer_middleware/cmd/rpc/internal/svc"
|
|
|
|
"trasfer_middleware/cmd/rpc/pb/transfer"
|
|
|
|
)
|
|
|
|
|
|
|
|
type TransferServer struct {
|
|
|
|
svcCtx *svc.ServiceContext
|
|
|
|
transfer.UnimplementedTransferServer
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewTransferServer(svcCtx *svc.ServiceContext) *TransferServer {
|
|
|
|
return &TransferServer{
|
|
|
|
svcCtx: svcCtx,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) ZltxOrderRecharge(ctx context.Context, in *transfer.ZltxOrderRechargeReq) (*transfer.DefaultRes, error) {
|
|
|
|
l := logic.NewZltxOrderRechargeLogic(ctx, s.svcCtx)
|
|
|
|
return l.ZltxOrderRecharge(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) ZltxOrderRechargeQuery(ctx context.Context, in *transfer.ZltxOrderRechargeQueryReq) (*transfer.ZltxOrderRechargeQueryRes, error) {
|
|
|
|
l := logic.NewZltxOrderRechargeQueryLogic(ctx, s.svcCtx)
|
|
|
|
return l.ZltxOrderRechargeQuery(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) ZltxOrderCard(ctx context.Context, in *transfer.ZltxOrderCardReq) (*transfer.DefaultRes, error) {
|
|
|
|
l := logic.NewZltxOrderCardLogic(ctx, s.svcCtx)
|
|
|
|
return l.ZltxOrderCard(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) ZltxOrderCardQuery(ctx context.Context, in *transfer.ZltxOrderCardQueryReq) (*transfer.ZltxOrderCardQueryRes, error) {
|
|
|
|
l := logic.NewZltxOrderCardQueryLogic(ctx, s.svcCtx)
|
|
|
|
return l.ZltxOrderCardQuery(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) ZltxOrderSms(ctx context.Context, in *transfer.ZltxOrderSmsReq) (*transfer.ZltxOrderSmsRes, error) {
|
|
|
|
l := logic.NewZltxOrderSmsLogic(ctx, s.svcCtx)
|
|
|
|
return l.ZltxOrderSms(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) ZltxRechargeInfo(ctx context.Context, in *transfer.DefaultReq) (*transfer.ZltxRechargeInfoRes, error) {
|
|
|
|
l := logic.NewZltxRechargeInfoLogic(ctx, s.svcCtx)
|
|
|
|
return l.ZltxRechargeInfo(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) ZltxRechargeProduct(ctx context.Context, in *transfer.DefaultReq) (*transfer.ZltxRechargeProductRes, error) {
|
|
|
|
l := logic.NewZltxRechargeProductLogic(ctx, s.svcCtx)
|
|
|
|
return l.ZltxRechargeProduct(in)
|
|
|
|
}
|
2024-06-07 11:51:19 +08:00
|
|
|
|
2024-06-18 16:34:14 +08:00
|
|
|
func (s *TransferServer) ZltxRsMiXue(ctx context.Context, in *transfer.RsCouponGrantReq) (*transfer.RsCouponGrantRes, error) {
|
|
|
|
l := logic.NewZltxRsMiXueLogic(ctx, s.svcCtx)
|
|
|
|
return l.ZltxRsMiXue(in)
|
|
|
|
}
|
|
|
|
|
2024-06-07 11:51:19 +08:00
|
|
|
func (s *TransferServer) MarketKeySend(ctx context.Context, in *transfer.MarketKeySendReq) (*transfer.MarketKeySendRes, error) {
|
|
|
|
l := logic.NewMarketKeySendLogic(ctx, s.svcCtx)
|
|
|
|
return l.MarketKeySend(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) MarketKeyDiscard(ctx context.Context, in *transfer.MarketKeyDiscardReq) (*transfer.MarketKeyDiscardRes, error) {
|
|
|
|
l := logic.NewMarketKeyDiscardLogic(ctx, s.svcCtx)
|
|
|
|
return l.MarketKeyDiscard(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) MarketQuery(ctx context.Context, in *transfer.MarketQueryReq) (*transfer.MarketQueryRes, error) {
|
|
|
|
l := logic.NewMarketQueryLogic(ctx, s.svcCtx)
|
|
|
|
return l.MarketQuery(in)
|
|
|
|
}
|
2024-06-18 16:34:14 +08:00
|
|
|
|
|
|
|
func (s *TransferServer) RsCouponGrant(ctx context.Context, in *transfer.RsCouponGrantReq) (*transfer.RsCouponGrantRes, error) {
|
|
|
|
l := logic.NewRsCouponGrantLogic(ctx, s.svcCtx)
|
|
|
|
return l.RsCouponGrant(in)
|
|
|
|
}
|
2024-10-15 18:35:45 +08:00
|
|
|
|
|
|
|
func (s *TransferServer) NewMarketOrder(ctx context.Context, in *transfer.NewMarketOrderReq) (*transfer.NewMarketOrderRes, error) {
|
|
|
|
l := logic.NewNewMarketOrderLogic(ctx, s.svcCtx)
|
|
|
|
return l.NewMarketOrder(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) NewMarketQuery(ctx context.Context, in *transfer.NewMarketQueryReq) (*transfer.NewMarketOrderRes, error) {
|
|
|
|
l := logic.NewNewMarketQueryLogic(ctx, s.svcCtx)
|
|
|
|
return l.NewMarketQuery(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) NewMarketDiscard(ctx context.Context, in *transfer.NewMarketDiscardReq) (*transfer.NewMarketDiscardRes, error) {
|
|
|
|
l := logic.NewNewMarketDiscardLogic(ctx, s.svcCtx)
|
|
|
|
return l.NewMarketDiscard(in)
|
|
|
|
}
|
2024-11-06 17:35:59 +08:00
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalGoodsList(ctx context.Context, in *transfer.PhysicalGoodsListReq) (*transfer.PhysicalGoodsListRes, error) {
|
|
|
|
l := logic.NewPhysicalGoodsListLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalGoodsList(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalGoodsDetail(ctx context.Context, in *transfer.PhysicalGoodsDetailReq) (*transfer.GoodsStructWithChild, error) {
|
|
|
|
l := logic.NewPhysicalGoodsDetailLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalGoodsDetail(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalGoodsStock(ctx context.Context, in *transfer.PhysicalGoodsStockReq) (*transfer.PhysicalGoodsStockRes, error) {
|
|
|
|
l := logic.NewPhysicalGoodsStockLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalGoodsStock(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalCusLogs(ctx context.Context, in *transfer.PhysicalCusLogsReq) (*transfer.PhysicalCusLogsRes, error) {
|
|
|
|
l := logic.NewPhysicalCusLogsLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalCusLogs(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalCusBalance(ctx context.Context, in *transfer.EmptyReqs) (*transfer.PhysicalCusBalanceRes, error) {
|
|
|
|
l := logic.NewPhysicalCusBalanceLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalCusBalance(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalExpressList(ctx context.Context, in *transfer.PhysicalExpressListReq) (*transfer.PhysicalExpressListRes, error) {
|
|
|
|
l := logic.NewPhysicalExpressListLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalExpressList(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalAddressList(ctx context.Context, in *transfer.PhysicalAddressListReq) (*transfer.PhysicalAddressListRes, error) {
|
|
|
|
l := logic.NewPhysicalAddressListLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalAddressList(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalFinanceBill(ctx context.Context, in *transfer.PhysicalFinanceBillReq) (*transfer.PhysicalFinanceBillRes, error) {
|
|
|
|
l := logic.NewPhysicalFinanceBillLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalFinanceBill(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalOrderInfo(ctx context.Context, in *transfer.PhysicalOrderInfoReq) (*transfer.PhysicalOrderInfoRes, error) {
|
|
|
|
l := logic.NewPhysicalOrderInfoLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalOrderInfo(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalOrderList(ctx context.Context, in *transfer.PhysicalOrderListReq) (*transfer.PhysicalOrderListRes, error) {
|
|
|
|
l := logic.NewPhysicalOrderListLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalOrderList(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalOrderSub(ctx context.Context, in *transfer.PhysicalOrderSubReq) (*transfer.PhysicalOrderSubRes, error) {
|
|
|
|
l := logic.NewPhysicalOrderSubLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalOrderSub(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalOrderClose(ctx context.Context, in *transfer.PhysicalOrderCloseReq) (*transfer.PhysicalOrderCloseRes, error) {
|
|
|
|
l := logic.NewPhysicalOrderCloseLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalOrderClose(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalOrderLogisticsLogs(ctx context.Context, in *transfer.PhysicalOrderLogisticsLogsReq) (*transfer.PhysicalOrderLogisticsLogsRes, error) {
|
|
|
|
l := logic.NewPhysicalOrderLogisticsLogsLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalOrderLogisticsLogs(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalOrderAfterApply(ctx context.Context, in *transfer.PhysicalOrderAfterApplyReq) (*transfer.PhysicalOrderAfterApplyRes, error) {
|
|
|
|
l := logic.NewPhysicalOrderAfterApplyLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalOrderAfterApply(in)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *TransferServer) PhysicalOrderAfterReturn(ctx context.Context, in *transfer.PhysicalOrderAfterReturnReq) (*transfer.PhysicalOrderAfterReturnRes, error) {
|
|
|
|
l := logic.NewPhysicalOrderAfterReturnLogic(ctx, s.svcCtx)
|
|
|
|
return l.PhysicalOrderAfterReturn(in)
|
|
|
|
}
|