|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// - protoc-gen-go-triple v1.0.8
|
|
|
|
|
// - protoc v3.20.3
|
|
|
|
|
// - protoc v5.26.1
|
|
|
|
|
// source: pb/bundle.proto
|
|
|
|
|
|
|
|
|
|
package bundle
|
|
|
|
@ -74,6 +74,7 @@ type BundleClient interface {
|
|
|
|
|
GetReconciliationList(ctx context.Context, in *GetReconciliationListReq, opts ...grpc_go.CallOption) (*GetReconciliationListResp, common.ErrorWithAttachment)
|
|
|
|
|
CreateReconciliation(ctx context.Context, in *ReconciliationInfo, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment)
|
|
|
|
|
UpdateReconciliation(ctx context.Context, in *ReconciliationInfo, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment)
|
|
|
|
|
UpdateReconciliationStatusBySerialNumber(ctx context.Context, in *UpdateStatusAndPayTimeBySerialNumber, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type bundleClient struct {
|
|
|
|
@ -81,47 +82,48 @@ 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)
|
|
|
|
|
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 *OrderCreateRecord) (*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)
|
|
|
|
|
OrderListByOrderNo func(ctx context.Context, in *OrderInfoByOrderNoRequest) (*OrderInfoByOrderNoResp, error)
|
|
|
|
|
OnlyAddValueListByOrderNo func(ctx context.Context, in *OnlyAddValueListByOrderNoRequest) (*OnlyAddValueListByOrderNoResp, 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)
|
|
|
|
|
GetBundleBalanceList func(ctx context.Context, in *GetBundleBalanceListReq) (*GetBundleBalanceListResp, error)
|
|
|
|
|
GetBundleBalanceByUserId func(ctx context.Context, in *GetBundleBalanceByUserIdReq) (*GetBundleBalanceByUserIdResp, error)
|
|
|
|
|
CreateBundleBalance func(ctx context.Context, in *CreateBundleBalanceReq) (*CreateBundleBalanceResp, error)
|
|
|
|
|
AddBundleBalance func(ctx context.Context, in *AddBundleBalanceReq) (*AddBundleBalanceResp, error)
|
|
|
|
|
GetUsedRecordList func(ctx context.Context, in *GetUsedRecordListReq) (*GetUsedRecordListResp, error)
|
|
|
|
|
GetImageWorkDetail func(ctx context.Context, in *GetImageWorkDetailReq) (*GetImageWorkDetailResp, error)
|
|
|
|
|
GetVedioWorkDetail func(ctx context.Context, in *GetVedioWorkDetailReq) (*GetVedioeWorkDetailResp, error)
|
|
|
|
|
ToBeComfirmedWorks func(ctx context.Context, in *ToBeComfirmedWorksReq) (*ToBeComfirmedWorksResp, error)
|
|
|
|
|
GetReconciliationList func(ctx context.Context, in *GetReconciliationListReq) (*GetReconciliationListResp, error)
|
|
|
|
|
CreateReconciliation func(ctx context.Context, in *ReconciliationInfo) (*CommonResponse, error)
|
|
|
|
|
UpdateReconciliation func(ctx context.Context, in *ReconciliationInfo) (*CommonResponse, 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 *OrderCreateRecord) (*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)
|
|
|
|
|
OrderListByOrderNo func(ctx context.Context, in *OrderInfoByOrderNoRequest) (*OrderInfoByOrderNoResp, error)
|
|
|
|
|
OnlyAddValueListByOrderNo func(ctx context.Context, in *OnlyAddValueListByOrderNoRequest) (*OnlyAddValueListByOrderNoResp, 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)
|
|
|
|
|
GetBundleBalanceList func(ctx context.Context, in *GetBundleBalanceListReq) (*GetBundleBalanceListResp, error)
|
|
|
|
|
GetBundleBalanceByUserId func(ctx context.Context, in *GetBundleBalanceByUserIdReq) (*GetBundleBalanceByUserIdResp, error)
|
|
|
|
|
CreateBundleBalance func(ctx context.Context, in *CreateBundleBalanceReq) (*CreateBundleBalanceResp, error)
|
|
|
|
|
AddBundleBalance func(ctx context.Context, in *AddBundleBalanceReq) (*AddBundleBalanceResp, error)
|
|
|
|
|
GetUsedRecordList func(ctx context.Context, in *GetUsedRecordListReq) (*GetUsedRecordListResp, error)
|
|
|
|
|
GetImageWorkDetail func(ctx context.Context, in *GetImageWorkDetailReq) (*GetImageWorkDetailResp, error)
|
|
|
|
|
GetVedioWorkDetail func(ctx context.Context, in *GetVedioWorkDetailReq) (*GetVedioeWorkDetailResp, error)
|
|
|
|
|
ToBeComfirmedWorks func(ctx context.Context, in *ToBeComfirmedWorksReq) (*ToBeComfirmedWorksResp, error)
|
|
|
|
|
GetReconciliationList func(ctx context.Context, in *GetReconciliationListReq) (*GetReconciliationListResp, error)
|
|
|
|
|
CreateReconciliation func(ctx context.Context, in *ReconciliationInfo) (*CommonResponse, error)
|
|
|
|
|
UpdateReconciliation func(ctx context.Context, in *ReconciliationInfo) (*CommonResponse, error)
|
|
|
|
|
UpdateReconciliationStatusBySerialNumber func(ctx context.Context, in *UpdateStatusAndPayTimeBySerialNumber) (*CommonResponse, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *BundleClientImpl) GetDubboStub(cc *triple.TripleConn) BundleClient {
|
|
|
|
@ -382,6 +384,12 @@ func (c *bundleClient) UpdateReconciliation(ctx context.Context, in *Reconciliat
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateReconciliation", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) UpdateReconciliationStatusBySerialNumber(ctx context.Context, in *UpdateStatusAndPayTimeBySerialNumber, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) {
|
|
|
|
|
out := new(CommonResponse)
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateReconciliationStatusBySerialNumber", in, out)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// BundleServer is the server API for Bundle service.
|
|
|
|
|
// All implementations must embed UnimplementedBundleServer
|
|
|
|
|
// for forward compatibility
|
|
|
|
@ -432,6 +440,7 @@ type BundleServer interface {
|
|
|
|
|
GetReconciliationList(context.Context, *GetReconciliationListReq) (*GetReconciliationListResp, error)
|
|
|
|
|
CreateReconciliation(context.Context, *ReconciliationInfo) (*CommonResponse, error)
|
|
|
|
|
UpdateReconciliation(context.Context, *ReconciliationInfo) (*CommonResponse, error)
|
|
|
|
|
UpdateReconciliationStatusBySerialNumber(context.Context, *UpdateStatusAndPayTimeBySerialNumber) (*CommonResponse, error)
|
|
|
|
|
mustEmbedUnimplementedBundleServer()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -563,6 +572,9 @@ func (UnimplementedBundleServer) CreateReconciliation(context.Context, *Reconcil
|
|
|
|
|
func (UnimplementedBundleServer) UpdateReconciliation(context.Context, *ReconciliationInfo) (*CommonResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateReconciliation not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (UnimplementedBundleServer) UpdateReconciliationStatusBySerialNumber(context.Context, *UpdateStatusAndPayTimeBySerialNumber) (*CommonResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateReconciliationStatusBySerialNumber not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (s *UnimplementedBundleServer) XXX_SetProxyImpl(impl protocol.Invoker) {
|
|
|
|
|
s.proxyImpl = impl
|
|
|
|
|
}
|
|
|
|
@ -1780,6 +1792,35 @@ func _Bundle_UpdateReconciliation_Handler(srv interface{}, ctx context.Context,
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Bundle_UpdateReconciliationStatusBySerialNumber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateStatusAndPayTimeBySerialNumber)
|
|
|
|
|
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("UpdateReconciliationStatusBySerialNumber", 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)
|
|
|
|
@ -1951,6 +1992,10 @@ var Bundle_ServiceDesc = grpc_go.ServiceDesc{
|
|
|
|
|
MethodName: "UpdateReconciliation",
|
|
|
|
|
Handler: _Bundle_UpdateReconciliation_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "UpdateReconciliationStatusBySerialNumber",
|
|
|
|
|
Handler: _Bundle_UpdateReconciliationStatusBySerialNumber_Handler,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Streams: []grpc_go.StreamDesc{},
|
|
|
|
|
Metadata: "pb/bundle.proto",
|
|
|
|
|