add log service and change order
CI / changes (push) Successful in 38s
CI / ad (push) Successful in 29s
CI / admin (push) Successful in 22s
CI / bff (push) Successful in 19s
CI / chore (push) Successful in 22s
CI / equipment (push) Successful in 20s
CI / express (push) Successful in 18s
CI / log (push) Successful in 0s
CI / product (push) Successful in 15s
CI / sale (push) Successful in 16s
CI / task (push) Successful in 17s
CI / user (push) Successful in 16s
CI / wecom (push) Successful in 16s
CI / changes (push) Successful in 38s
CI / ad (push) Successful in 29s
CI / admin (push) Successful in 22s
CI / bff (push) Successful in 19s
CI / chore (push) Successful in 22s
CI / equipment (push) Successful in 20s
CI / express (push) Successful in 18s
CI / log (push) Successful in 0s
CI / product (push) Successful in 15s
CI / sale (push) Successful in 16s
CI / task (push) Successful in 17s
CI / user (push) Successful in 16s
CI / wecom (push) Successful in 16s
This commit is contained in:
@@ -19,22 +19,23 @@ import (
|
||||
const _ = grpc.SupportPackageIsVersion9
|
||||
|
||||
const (
|
||||
Order_Items_FullMethodName = "/order.order/Items"
|
||||
Order_WebCreate_FullMethodName = "/order.order/WebCreate"
|
||||
Order_WebCreateOne_FullMethodName = "/order.order/WebCreateOne"
|
||||
Order_WebAddressCreate_FullMethodName = "/order.order/WebAddressCreate"
|
||||
Order_WebAddressEdit_FullMethodName = "/order.order/WebAddressEdit"
|
||||
Order_WebAddressDel_FullMethodName = "/order.order/WebAddressDel"
|
||||
Order_WebAddressDef_FullMethodName = "/order.order/WebAddressDef"
|
||||
Order_WebAddressInfo_FullMethodName = "/order.order/WebAddressInfo"
|
||||
Order_WebAddressItems_FullMethodName = "/order.order/WebAddressItems"
|
||||
Order_WebCart_FullMethodName = "/order.order/WebCart"
|
||||
Order_WebCartEdit_FullMethodName = "/order.order/WebCartEdit"
|
||||
Order_AddressItem_FullMethodName = "/order.order/AddressItem"
|
||||
Order_AddressByStore_FullMethodName = "/order.order/AddressByStore"
|
||||
Order_OrderAuditingItems_FullMethodName = "/order.order/OrderAuditingItems"
|
||||
Order_OrderAuditing_FullMethodName = "/order.order/OrderAuditing"
|
||||
Order_OrderCreate_FullMethodName = "/order.order/OrderCreate"
|
||||
Order_Items_FullMethodName = "/order.order/Items"
|
||||
Order_WebCreate_FullMethodName = "/order.order/WebCreate"
|
||||
Order_WebCreateOne_FullMethodName = "/order.order/WebCreateOne"
|
||||
Order_WebAddressCreate_FullMethodName = "/order.order/WebAddressCreate"
|
||||
Order_WebAddressEdit_FullMethodName = "/order.order/WebAddressEdit"
|
||||
Order_WebAddressDel_FullMethodName = "/order.order/WebAddressDel"
|
||||
Order_WebAddressDef_FullMethodName = "/order.order/WebAddressDef"
|
||||
Order_WebAddressInfo_FullMethodName = "/order.order/WebAddressInfo"
|
||||
Order_WebAddressItems_FullMethodName = "/order.order/WebAddressItems"
|
||||
Order_WebCart_FullMethodName = "/order.order/WebCart"
|
||||
Order_WebCartEdit_FullMethodName = "/order.order/WebCartEdit"
|
||||
Order_AddressItem_FullMethodName = "/order.order/AddressItem"
|
||||
Order_AddressByStore_FullMethodName = "/order.order/AddressByStore"
|
||||
Order_OrderAuditingItems_FullMethodName = "/order.order/OrderAuditingItems"
|
||||
Order_OrderAuditing_FullMethodName = "/order.order/OrderAuditing"
|
||||
Order_OrderCreate_FullMethodName = "/order.order/OrderCreate"
|
||||
Order_UpdateOrderDeliverStatus_FullMethodName = "/order.order/UpdateOrderDeliverStatus"
|
||||
)
|
||||
|
||||
// OrderClient is the client API for Order service.
|
||||
@@ -57,6 +58,7 @@ type OrderClient interface {
|
||||
OrderAuditingItems(ctx context.Context, in *OrderAuditingItemsRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
OrderAuditing(ctx context.Context, in *OrderAuditingRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
OrderCreate(ctx context.Context, in *AdminCreateOrderRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
UpdateOrderDeliverStatus(ctx context.Context, in *UpdateOrderDeliverStatusRequest, opts ...grpc.CallOption) (*UpdateOrderDeliverStatusResponse, error)
|
||||
}
|
||||
|
||||
type orderClient struct {
|
||||
@@ -227,6 +229,16 @@ func (c *orderClient) OrderCreate(ctx context.Context, in *AdminCreateOrderReque
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *orderClient) UpdateOrderDeliverStatus(ctx context.Context, in *UpdateOrderDeliverStatusRequest, opts ...grpc.CallOption) (*UpdateOrderDeliverStatusResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(UpdateOrderDeliverStatusResponse)
|
||||
err := c.cc.Invoke(ctx, Order_UpdateOrderDeliverStatus_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// OrderServer is the server API for Order service.
|
||||
// All implementations must embed UnimplementedOrderServer
|
||||
// for forward compatibility.
|
||||
@@ -247,6 +259,7 @@ type OrderServer interface {
|
||||
OrderAuditingItems(context.Context, *OrderAuditingItemsRequest) (*Response, error)
|
||||
OrderAuditing(context.Context, *OrderAuditingRequest) (*Response, error)
|
||||
OrderCreate(context.Context, *AdminCreateOrderRequest) (*Response, error)
|
||||
UpdateOrderDeliverStatus(context.Context, *UpdateOrderDeliverStatusRequest) (*UpdateOrderDeliverStatusResponse, error)
|
||||
mustEmbedUnimplementedOrderServer()
|
||||
}
|
||||
|
||||
@@ -305,6 +318,9 @@ func (UnimplementedOrderServer) OrderAuditing(context.Context, *OrderAuditingReq
|
||||
func (UnimplementedOrderServer) OrderCreate(context.Context, *AdminCreateOrderRequest) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method OrderCreate not implemented")
|
||||
}
|
||||
func (UnimplementedOrderServer) UpdateOrderDeliverStatus(context.Context, *UpdateOrderDeliverStatusRequest) (*UpdateOrderDeliverStatusResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateOrderDeliverStatus not implemented")
|
||||
}
|
||||
func (UnimplementedOrderServer) mustEmbedUnimplementedOrderServer() {}
|
||||
func (UnimplementedOrderServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -614,6 +630,24 @@ func _Order_OrderCreate_Handler(srv interface{}, ctx context.Context, dec func(i
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Order_UpdateOrderDeliverStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateOrderDeliverStatusRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(OrderServer).UpdateOrderDeliverStatus(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Order_UpdateOrderDeliverStatus_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(OrderServer).UpdateOrderDeliverStatus(ctx, req.(*UpdateOrderDeliverStatusRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
// Order_ServiceDesc is the grpc.ServiceDesc for Order service.
|
||||
// It's only intended for direct use with grpc.RegisterService,
|
||||
// and not to be introspected or modified (even as a copy)
|
||||
@@ -685,6 +719,10 @@ var Order_ServiceDesc = grpc.ServiceDesc{
|
||||
MethodName: "OrderCreate",
|
||||
Handler: _Order_OrderCreate_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdateOrderDeliverStatus",
|
||||
Handler: _Order_UpdateOrderDeliverStatus_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "order/order.proto",
|
||||
|
||||
Reference in New Issue
Block a user