|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// - protoc-gen-go-triple v1.0.8
|
|
|
|
|
// - protoc v3.10.1
|
|
|
|
|
// - protoc v5.29.2
|
|
|
|
|
// source: pb/bundle.proto
|
|
|
|
|
|
|
|
|
|
package bundle
|
|
|
|
@ -31,6 +31,10 @@ type BundleClient interface {
|
|
|
|
|
CreateBundle(ctx context.Context, in *BundleProfile, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment)
|
|
|
|
|
UpdateBundle(ctx context.Context, in *BundleProfile, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment)
|
|
|
|
|
DeleteBundle(ctx context.Context, in *DelBundleRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment)
|
|
|
|
|
HandShelf(ctx context.Context, in *HandShelfRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment)
|
|
|
|
|
SaveBundle(ctx context.Context, in *BundleProfile, opts ...grpc_go.CallOption) (*SaveResponse, common.ErrorWithAttachment)
|
|
|
|
|
BundleListV2(ctx context.Context, in *BundleListRequest, opts ...grpc_go.CallOption) (*BundleListResponse, common.ErrorWithAttachment)
|
|
|
|
|
BundleDetailV2(ctx context.Context, in *BundleDetailRequest, opts ...grpc_go.CallOption) (*BundleDetailResponseV2, common.ErrorWithAttachment)
|
|
|
|
|
BundleList(ctx context.Context, in *BundleListRequest, opts ...grpc_go.CallOption) (*BundleListResponse, common.ErrorWithAttachment)
|
|
|
|
|
BundleDetail(ctx context.Context, in *BundleDetailRequest, opts ...grpc_go.CallOption) (*BundleDetailResponse, common.ErrorWithAttachment)
|
|
|
|
|
CreateOrderRecord(ctx context.Context, in *OrderRecord, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment)
|
|
|
|
@ -39,10 +43,23 @@ type BundleClient interface {
|
|
|
|
|
OrderRecordsList(ctx context.Context, in *OrderRecordsRequest, opts ...grpc_go.CallOption) (*OrderRecordsResponse, common.ErrorWithAttachment)
|
|
|
|
|
OrderRecordsDetail(ctx context.Context, in *OrderRecordsDetailRequest, opts ...grpc_go.CallOption) (*OrderRecordsDetailResponse, common.ErrorWithAttachment)
|
|
|
|
|
UpdateFinancialConfirmationStatus(ctx context.Context, in *FinancialConfirmationRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment)
|
|
|
|
|
CreateOrderAddRecord(ctx context.Context, in *OrderAddRecord, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment)
|
|
|
|
|
PackagePriceAndTime(ctx context.Context, in *OrderRecord, opts ...grpc_go.CallOption) (*PackagePriceAndTimeResponse, common.ErrorWithAttachment)
|
|
|
|
|
OrderRecordsListV2(ctx context.Context, in *OrderRecordsRequestV2, opts ...grpc_go.CallOption) (*OrderRecordsResponseV2, common.ErrorWithAttachment)
|
|
|
|
|
//增值套餐
|
|
|
|
|
CreateValueAddBundle(ctx context.Context, in *CreateValueAddBundleRequest, opts ...grpc_go.CallOption) (*CreateValueAddBundleResponse, common.ErrorWithAttachment)
|
|
|
|
|
ValueAddBundleList(ctx context.Context, in *ValueAddBundleListRequest, opts ...grpc_go.CallOption) (*ValueAddBundleListResponse, common.ErrorWithAttachment)
|
|
|
|
|
ValueAddBundleDetail(ctx context.Context, in *ValueAddBundleDetailRequest, opts ...grpc_go.CallOption) (*ValueAddBundleDetailResponse, common.ErrorWithAttachment)
|
|
|
|
|
//新增值服务
|
|
|
|
|
SaveValueAddService(ctx context.Context, in *ValueAddServiceLang, opts ...grpc_go.CallOption) (*SaveResponse, common.ErrorWithAttachment)
|
|
|
|
|
ValueAddServiceList(ctx context.Context, in *ValueAddServiceListRequest, opts ...grpc_go.CallOption) (*ValueAddServiceListResponse, common.ErrorWithAttachment)
|
|
|
|
|
ValueAddServiceDetail(ctx context.Context, in *ValueAddServiceDetailRequest, opts ...grpc_go.CallOption) (*ValueAddServiceDetailResponse, common.ErrorWithAttachment)
|
|
|
|
|
ValueAddServiceLangByUuidAndLanguage(ctx context.Context, in *ValueAddServiceDetailRequest, opts ...grpc_go.CallOption) (*ValueAddServiceLang, common.ErrorWithAttachment)
|
|
|
|
|
CalculatePrice(ctx context.Context, in *CalculatePriceRequest, opts ...grpc_go.CallOption) (*CalculatePriceResponse, common.ErrorWithAttachment)
|
|
|
|
|
// 余量管理
|
|
|
|
|
BundleExtend(ctx context.Context, in *BundleExtendRequest, opts ...grpc_go.CallOption) (*BundleExtendResponse, common.ErrorWithAttachment)
|
|
|
|
|
BundleExtendRecordsList(ctx context.Context, in *BundleExtendRecordsListRequest, opts ...grpc_go.CallOption) (*BundleExtendRecordsListResponse, common.ErrorWithAttachment)
|
|
|
|
|
GetBundleBalance(ctx context.Context, in *GetBundleBalanceReq, opts ...grpc_go.CallOption) (*GetBundleBalanceResp, common.ErrorWithAttachment)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type bundleClient struct {
|
|
|
|
@ -50,20 +67,35 @@ type bundleClient struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type BundleClientImpl struct {
|
|
|
|
|
CreateBundle func(ctx context.Context, in *BundleProfile) (*CommonResponse, error)
|
|
|
|
|
UpdateBundle func(ctx context.Context, in *BundleProfile) (*CommonResponse, error)
|
|
|
|
|
DeleteBundle func(ctx context.Context, in *DelBundleRequest) (*CommonResponse, error)
|
|
|
|
|
BundleList func(ctx context.Context, in *BundleListRequest) (*BundleListResponse, error)
|
|
|
|
|
BundleDetail func(ctx context.Context, in *BundleDetailRequest) (*BundleDetailResponse, error)
|
|
|
|
|
CreateOrderRecord func(ctx context.Context, in *OrderRecord) (*CommonResponse, error)
|
|
|
|
|
UpdateOrderRecord func(ctx context.Context, in *OrderRecord) (*CommonResponse, error)
|
|
|
|
|
UpdateOrderRecordByOrderNo func(ctx context.Context, in *OrderRecord) (*CommonResponse, error)
|
|
|
|
|
OrderRecordsList func(ctx context.Context, in *OrderRecordsRequest) (*OrderRecordsResponse, error)
|
|
|
|
|
OrderRecordsDetail func(ctx context.Context, in *OrderRecordsDetailRequest) (*OrderRecordsDetailResponse, error)
|
|
|
|
|
UpdateFinancialConfirmationStatus func(ctx context.Context, in *FinancialConfirmationRequest) (*CommonResponse, error)
|
|
|
|
|
CreateValueAddBundle func(ctx context.Context, in *CreateValueAddBundleRequest) (*CreateValueAddBundleResponse, error)
|
|
|
|
|
ValueAddBundleList func(ctx context.Context, in *ValueAddBundleListRequest) (*ValueAddBundleListResponse, error)
|
|
|
|
|
ValueAddBundleDetail func(ctx context.Context, in *ValueAddBundleDetailRequest) (*ValueAddBundleDetailResponse, error)
|
|
|
|
|
CreateBundle func(ctx context.Context, in *BundleProfile) (*CommonResponse, error)
|
|
|
|
|
UpdateBundle func(ctx context.Context, in *BundleProfile) (*CommonResponse, error)
|
|
|
|
|
DeleteBundle func(ctx context.Context, in *DelBundleRequest) (*CommonResponse, error)
|
|
|
|
|
HandShelf func(ctx context.Context, in *HandShelfRequest) (*CommonResponse, error)
|
|
|
|
|
SaveBundle func(ctx context.Context, in *BundleProfile) (*SaveResponse, error)
|
|
|
|
|
BundleListV2 func(ctx context.Context, in *BundleListRequest) (*BundleListResponse, error)
|
|
|
|
|
BundleDetailV2 func(ctx context.Context, in *BundleDetailRequest) (*BundleDetailResponseV2, error)
|
|
|
|
|
BundleList func(ctx context.Context, in *BundleListRequest) (*BundleListResponse, error)
|
|
|
|
|
BundleDetail func(ctx context.Context, in *BundleDetailRequest) (*BundleDetailResponse, error)
|
|
|
|
|
CreateOrderRecord func(ctx context.Context, in *OrderRecord) (*CommonResponse, error)
|
|
|
|
|
UpdateOrderRecord func(ctx context.Context, in *OrderRecord) (*CommonResponse, error)
|
|
|
|
|
UpdateOrderRecordByOrderNo func(ctx context.Context, in *OrderRecord) (*CommonResponse, error)
|
|
|
|
|
OrderRecordsList func(ctx context.Context, in *OrderRecordsRequest) (*OrderRecordsResponse, error)
|
|
|
|
|
OrderRecordsDetail func(ctx context.Context, in *OrderRecordsDetailRequest) (*OrderRecordsDetailResponse, error)
|
|
|
|
|
UpdateFinancialConfirmationStatus func(ctx context.Context, in *FinancialConfirmationRequest) (*CommonResponse, error)
|
|
|
|
|
CreateOrderAddRecord func(ctx context.Context, in *OrderAddRecord) (*CommonResponse, error)
|
|
|
|
|
PackagePriceAndTime func(ctx context.Context, in *OrderRecord) (*PackagePriceAndTimeResponse, error)
|
|
|
|
|
OrderRecordsListV2 func(ctx context.Context, in *OrderRecordsRequestV2) (*OrderRecordsResponseV2, error)
|
|
|
|
|
CreateValueAddBundle func(ctx context.Context, in *CreateValueAddBundleRequest) (*CreateValueAddBundleResponse, error)
|
|
|
|
|
ValueAddBundleList func(ctx context.Context, in *ValueAddBundleListRequest) (*ValueAddBundleListResponse, error)
|
|
|
|
|
ValueAddBundleDetail func(ctx context.Context, in *ValueAddBundleDetailRequest) (*ValueAddBundleDetailResponse, error)
|
|
|
|
|
SaveValueAddService func(ctx context.Context, in *ValueAddServiceLang) (*SaveResponse, error)
|
|
|
|
|
ValueAddServiceList func(ctx context.Context, in *ValueAddServiceListRequest) (*ValueAddServiceListResponse, error)
|
|
|
|
|
ValueAddServiceDetail func(ctx context.Context, in *ValueAddServiceDetailRequest) (*ValueAddServiceDetailResponse, error)
|
|
|
|
|
ValueAddServiceLangByUuidAndLanguage func(ctx context.Context, in *ValueAddServiceDetailRequest) (*ValueAddServiceLang, error)
|
|
|
|
|
CalculatePrice func(ctx context.Context, in *CalculatePriceRequest) (*CalculatePriceResponse, error)
|
|
|
|
|
BundleExtend func(ctx context.Context, in *BundleExtendRequest) (*BundleExtendResponse, error)
|
|
|
|
|
BundleExtendRecordsList func(ctx context.Context, in *BundleExtendRecordsListRequest) (*BundleExtendRecordsListResponse, error)
|
|
|
|
|
GetBundleBalance func(ctx context.Context, in *GetBundleBalanceReq) (*GetBundleBalanceResp, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *BundleClientImpl) GetDubboStub(cc *triple.TripleConn) BundleClient {
|
|
|
|
@ -96,6 +128,30 @@ func (c *bundleClient) DeleteBundle(ctx context.Context, in *DelBundleRequest, o
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DeleteBundle", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) HandShelf(ctx context.Context, in *HandShelfRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(CommonResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/HandShelf", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) SaveBundle(ctx context.Context, in *BundleProfile, opts ...grpc_go.CallOption) (*SaveResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(SaveResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/SaveBundle", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) BundleListV2(ctx context.Context, in *BundleListRequest, opts ...grpc_go.CallOption) (*BundleListResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(BundleListResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/BundleListV2", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) BundleDetailV2(ctx context.Context, in *BundleDetailRequest, opts ...grpc_go.CallOption) (*BundleDetailResponseV2, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(BundleDetailResponseV2)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/BundleDetailV2", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) BundleList(ctx context.Context, in *BundleListRequest, opts ...grpc_go.CallOption) (*BundleListResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(BundleListResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
@ -144,6 +200,24 @@ func (c *bundleClient) UpdateFinancialConfirmationStatus(ctx context.Context, in
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateFinancialConfirmationStatus", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) CreateOrderAddRecord(ctx context.Context, in *OrderAddRecord, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(CommonResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CreateOrderAddRecord", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) PackagePriceAndTime(ctx context.Context, in *OrderRecord, opts ...grpc_go.CallOption) (*PackagePriceAndTimeResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(PackagePriceAndTimeResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/PackagePriceAndTime", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) OrderRecordsListV2(ctx context.Context, in *OrderRecordsRequestV2, opts ...grpc_go.CallOption) (*OrderRecordsResponseV2, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(OrderRecordsResponseV2)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/OrderRecordsListV2", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) CreateValueAddBundle(ctx context.Context, in *CreateValueAddBundleRequest, opts ...grpc_go.CallOption) (*CreateValueAddBundleResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(CreateValueAddBundleResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
@ -162,6 +236,54 @@ func (c *bundleClient) ValueAddBundleDetail(ctx context.Context, in *ValueAddBun
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ValueAddBundleDetail", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) SaveValueAddService(ctx context.Context, in *ValueAddServiceLang, opts ...grpc_go.CallOption) (*SaveResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(SaveResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/SaveValueAddService", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) ValueAddServiceList(ctx context.Context, in *ValueAddServiceListRequest, opts ...grpc_go.CallOption) (*ValueAddServiceListResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(ValueAddServiceListResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ValueAddServiceList", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) ValueAddServiceDetail(ctx context.Context, in *ValueAddServiceDetailRequest, opts ...grpc_go.CallOption) (*ValueAddServiceDetailResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(ValueAddServiceDetailResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ValueAddServiceDetail", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) ValueAddServiceLangByUuidAndLanguage(ctx context.Context, in *ValueAddServiceDetailRequest, opts ...grpc_go.CallOption) (*ValueAddServiceLang, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(ValueAddServiceLang)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ValueAddServiceLangByUuidAndLanguage", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) CalculatePrice(ctx context.Context, in *CalculatePriceRequest, opts ...grpc_go.CallOption) (*CalculatePriceResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(CalculatePriceResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CalculatePrice", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) BundleExtend(ctx context.Context, in *BundleExtendRequest, opts ...grpc_go.CallOption) (*BundleExtendResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(BundleExtendResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/BundleExtend", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) BundleExtendRecordsList(ctx context.Context, in *BundleExtendRecordsListRequest, opts ...grpc_go.CallOption) (*BundleExtendRecordsListResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(BundleExtendRecordsListResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/BundleExtendRecordsList", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) GetBundleBalance(ctx context.Context, in *GetBundleBalanceReq, opts ...grpc_go.CallOption) (*GetBundleBalanceResp, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(GetBundleBalanceResp)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetBundleBalance", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// BundleServer is the server API for Bundle service.
|
|
|
|
|
// All implementations must embed UnimplementedBundleServer
|
|
|
|
|
// for forward compatibility
|
|
|
|
@ -169,6 +291,10 @@ type BundleServer interface {
|
|
|
|
|
CreateBundle(context.Context, *BundleProfile) (*CommonResponse, error)
|
|
|
|
|
UpdateBundle(context.Context, *BundleProfile) (*CommonResponse, error)
|
|
|
|
|
DeleteBundle(context.Context, *DelBundleRequest) (*CommonResponse, error)
|
|
|
|
|
HandShelf(context.Context, *HandShelfRequest) (*CommonResponse, error)
|
|
|
|
|
SaveBundle(context.Context, *BundleProfile) (*SaveResponse, error)
|
|
|
|
|
BundleListV2(context.Context, *BundleListRequest) (*BundleListResponse, error)
|
|
|
|
|
BundleDetailV2(context.Context, *BundleDetailRequest) (*BundleDetailResponseV2, error)
|
|
|
|
|
BundleList(context.Context, *BundleListRequest) (*BundleListResponse, error)
|
|
|
|
|
BundleDetail(context.Context, *BundleDetailRequest) (*BundleDetailResponse, error)
|
|
|
|
|
CreateOrderRecord(context.Context, *OrderRecord) (*CommonResponse, error)
|
|
|
|
@ -177,10 +303,23 @@ type BundleServer interface {
|
|
|
|
|
OrderRecordsList(context.Context, *OrderRecordsRequest) (*OrderRecordsResponse, error)
|
|
|
|
|
OrderRecordsDetail(context.Context, *OrderRecordsDetailRequest) (*OrderRecordsDetailResponse, error)
|
|
|
|
|
UpdateFinancialConfirmationStatus(context.Context, *FinancialConfirmationRequest) (*CommonResponse, error)
|
|
|
|
|
CreateOrderAddRecord(context.Context, *OrderAddRecord) (*CommonResponse, error)
|
|
|
|
|
PackagePriceAndTime(context.Context, *OrderRecord) (*PackagePriceAndTimeResponse, error)
|
|
|
|
|
OrderRecordsListV2(context.Context, *OrderRecordsRequestV2) (*OrderRecordsResponseV2, error)
|
|
|
|
|
//增值套餐
|
|
|
|
|
CreateValueAddBundle(context.Context, *CreateValueAddBundleRequest) (*CreateValueAddBundleResponse, error)
|
|
|
|
|
ValueAddBundleList(context.Context, *ValueAddBundleListRequest) (*ValueAddBundleListResponse, error)
|
|
|
|
|
ValueAddBundleDetail(context.Context, *ValueAddBundleDetailRequest) (*ValueAddBundleDetailResponse, error)
|
|
|
|
|
//新增值服务
|
|
|
|
|
SaveValueAddService(context.Context, *ValueAddServiceLang) (*SaveResponse, error)
|
|
|
|
|
ValueAddServiceList(context.Context, *ValueAddServiceListRequest) (*ValueAddServiceListResponse, error)
|
|
|
|
|
ValueAddServiceDetail(context.Context, *ValueAddServiceDetailRequest) (*ValueAddServiceDetailResponse, error)
|
|
|
|
|
ValueAddServiceLangByUuidAndLanguage(context.Context, *ValueAddServiceDetailRequest) (*ValueAddServiceLang, error)
|
|
|
|
|
CalculatePrice(context.Context, *CalculatePriceRequest) (*CalculatePriceResponse, error)
|
|
|
|
|
// 余量管理
|
|
|
|
|
BundleExtend(context.Context, *BundleExtendRequest) (*BundleExtendResponse, error)
|
|
|
|
|
BundleExtendRecordsList(context.Context, *BundleExtendRecordsListRequest) (*BundleExtendRecordsListResponse, error)
|
|
|
|
|
GetBundleBalance(context.Context, *GetBundleBalanceReq) (*GetBundleBalanceResp, error)
|
|
|
|
|
mustEmbedUnimplementedBundleServer()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -198,6 +337,18 @@ func (UnimplementedBundleServer) UpdateBundle(context.Context, *BundleProfile) (
|
|
|
|
|
func (UnimplementedBundleServer) DeleteBundle(context.Context, *DelBundleRequest) (*CommonResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteBundle not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) HandShelf(context.Context, *HandShelfRequest) (*CommonResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method HandShelf not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) SaveBundle(context.Context, *BundleProfile) (*SaveResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SaveBundle not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) BundleListV2(context.Context, *BundleListRequest) (*BundleListResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method BundleListV2 not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) BundleDetailV2(context.Context, *BundleDetailRequest) (*BundleDetailResponseV2, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method BundleDetailV2 not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) BundleList(context.Context, *BundleListRequest) (*BundleListResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method BundleList not implemented")
|
|
|
|
|
}
|
|
|
|
@ -222,6 +373,15 @@ func (UnimplementedBundleServer) OrderRecordsDetail(context.Context, *OrderRecor
|
|
|
|
|
func (UnimplementedBundleServer) UpdateFinancialConfirmationStatus(context.Context, *FinancialConfirmationRequest) (*CommonResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateFinancialConfirmationStatus not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) CreateOrderAddRecord(context.Context, *OrderAddRecord) (*CommonResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateOrderAddRecord not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) PackagePriceAndTime(context.Context, *OrderRecord) (*PackagePriceAndTimeResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method PackagePriceAndTime not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) OrderRecordsListV2(context.Context, *OrderRecordsRequestV2) (*OrderRecordsResponseV2, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method OrderRecordsListV2 not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) CreateValueAddBundle(context.Context, *CreateValueAddBundleRequest) (*CreateValueAddBundleResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateValueAddBundle not implemented")
|
|
|
|
|
}
|
|
|
|
@ -231,6 +391,30 @@ func (UnimplementedBundleServer) ValueAddBundleList(context.Context, *ValueAddBu
|
|
|
|
|
func (UnimplementedBundleServer) ValueAddBundleDetail(context.Context, *ValueAddBundleDetailRequest) (*ValueAddBundleDetailResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ValueAddBundleDetail not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) SaveValueAddService(context.Context, *ValueAddServiceLang) (*SaveResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SaveValueAddService not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) ValueAddServiceList(context.Context, *ValueAddServiceListRequest) (*ValueAddServiceListResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ValueAddServiceList not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) ValueAddServiceDetail(context.Context, *ValueAddServiceDetailRequest) (*ValueAddServiceDetailResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ValueAddServiceDetail not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) ValueAddServiceLangByUuidAndLanguage(context.Context, *ValueAddServiceDetailRequest) (*ValueAddServiceLang, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ValueAddServiceLangByUuidAndLanguage not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) CalculatePrice(context.Context, *CalculatePriceRequest) (*CalculatePriceResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CalculatePrice not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) BundleExtend(context.Context, *BundleExtendRequest) (*BundleExtendResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method BundleExtend not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) BundleExtendRecordsList(context.Context, *BundleExtendRecordsListRequest) (*BundleExtendRecordsListResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method BundleExtendRecordsList not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) GetBundleBalance(context.Context, *GetBundleBalanceReq) (*GetBundleBalanceResp, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetBundleBalance not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (s *UnimplementedBundleServer) XXX_SetProxyImpl(impl protocol.Invoker) {
|
|
|
|
|
s.proxyImpl = impl
|
|
|
|
|
}
|
|
|
|
@ -346,6 +530,122 @@ func _Bundle_DeleteBundle_Handler(srv interface{}, ctx context.Context, dec func
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_HandShelf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(HandShelfRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("HandShelf", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_SaveBundle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(BundleProfile)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("SaveBundle", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_BundleListV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(BundleListRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("BundleListV2", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_BundleDetailV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(BundleDetailRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("BundleDetailV2", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_BundleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(BundleListRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
@ -578,6 +878,93 @@ func _Bundle_UpdateFinancialConfirmationStatus_Handler(srv interface{}, ctx cont
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_CreateOrderAddRecord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(OrderAddRecord)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("CreateOrderAddRecord", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_PackagePriceAndTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(OrderRecord)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("PackagePriceAndTime", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_OrderRecordsListV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(OrderRecordsRequestV2)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("OrderRecordsListV2", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_CreateValueAddBundle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CreateValueAddBundleRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
@ -665,6 +1052,238 @@ func _Bundle_ValueAddBundleDetail_Handler(srv interface{}, ctx context.Context,
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_SaveValueAddService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(ValueAddServiceLang)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("SaveValueAddService", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_ValueAddServiceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(ValueAddServiceListRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("ValueAddServiceList", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_ValueAddServiceDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(ValueAddServiceDetailRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("ValueAddServiceDetail", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_ValueAddServiceLangByUuidAndLanguage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(ValueAddServiceDetailRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("ValueAddServiceLangByUuidAndLanguage", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_CalculatePrice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CalculatePriceRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("CalculatePrice", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_BundleExtend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(BundleExtendRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("BundleExtend", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_BundleExtendRecordsList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(BundleExtendRecordsListRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("BundleExtendRecordsList", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_GetBundleBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(GetBundleBalanceReq)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
}
|
|
|
|
|
invo := invocation.NewRPCInvocation("GetBundleBalance", args, invAttachment)
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Bundle_ServiceDesc is the grpc_go.ServiceDesc for Bundle service.
|
|
|
|
|
// It's only intended for direct use with grpc_go.RegisterService,
|
|
|
|
|
// and not to be introspected or modified (even as a copy)
|
|
|
|
@ -684,6 +1303,22 @@ var Bundle_ServiceDesc = grpc_go.ServiceDesc{
|
|
|
|
|
MethodName: "DeleteBundle",
|
|
|
|
|
Handler: _Bundle_DeleteBundle_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "HandShelf",
|
|
|
|
|
Handler: _Bundle_HandShelf_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "SaveBundle",
|
|
|
|
|
Handler: _Bundle_SaveBundle_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "BundleListV2",
|
|
|
|
|
Handler: _Bundle_BundleListV2_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "BundleDetailV2",
|
|
|
|
|
Handler: _Bundle_BundleDetailV2_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "BundleList",
|
|
|
|
|
Handler: _Bundle_BundleList_Handler,
|
|
|
|
@ -716,6 +1351,18 @@ var Bundle_ServiceDesc = grpc_go.ServiceDesc{
|
|
|
|
|
MethodName: "UpdateFinancialConfirmationStatus",
|
|
|
|
|
Handler: _Bundle_UpdateFinancialConfirmationStatus_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "CreateOrderAddRecord",
|
|
|
|
|
Handler: _Bundle_CreateOrderAddRecord_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "PackagePriceAndTime",
|
|
|
|
|
Handler: _Bundle_PackagePriceAndTime_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "OrderRecordsListV2",
|
|
|
|
|
Handler: _Bundle_OrderRecordsListV2_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "CreateValueAddBundle",
|
|
|
|
|
Handler: _Bundle_CreateValueAddBundle_Handler,
|
|
|
|
@ -728,6 +1375,38 @@ var Bundle_ServiceDesc = grpc_go.ServiceDesc{
|
|
|
|
|
MethodName: "ValueAddBundleDetail",
|
|
|
|
|
Handler: _Bundle_ValueAddBundleDetail_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "SaveValueAddService",
|
|
|
|
|
Handler: _Bundle_SaveValueAddService_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "ValueAddServiceList",
|
|
|
|
|
Handler: _Bundle_ValueAddServiceList_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "ValueAddServiceDetail",
|
|
|
|
|
Handler: _Bundle_ValueAddServiceDetail_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "ValueAddServiceLangByUuidAndLanguage",
|
|
|
|
|
Handler: _Bundle_ValueAddServiceLangByUuidAndLanguage_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "CalculatePrice",
|
|
|
|
|
Handler: _Bundle_CalculatePrice_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "BundleExtend",
|
|
|
|
|
Handler: _Bundle_BundleExtend_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "BundleExtendRecordsList",
|
|
|
|
|
Handler: _Bundle_BundleExtendRecordsList_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "GetBundleBalance",
|
|
|
|
|
Handler: _Bundle_GetBundleBalance_Handler,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Streams: []grpc_go.StreamDesc{},
|
|
|
|
|
Metadata: "pb/bundle.proto",
|
|
|
|
|