feat: product items info
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Code generated by goctl. DO NOT EDIT.
|
||||
// goctl 1.10.2
|
||||
// goctl 1.10.1
|
||||
// Source: order.proto
|
||||
|
||||
package orderClient
|
||||
@@ -26,6 +26,8 @@ type (
|
||||
EditCartRequest = order.EditCartRequest
|
||||
EmptyRequest = order.EmptyRequest
|
||||
ExcelExportResponse = order.ExcelExportResponse
|
||||
ExistByStoreProductReq = order.ExistByStoreProductReq
|
||||
ExistByStoreProductResp = order.ExistByStoreProductResp
|
||||
GetOrderInfoRequest = order.GetOrderInfoRequest
|
||||
IdAndTypeRequest = order.IdAndTypeRequest
|
||||
IdRequest = order.IdRequest
|
||||
@@ -64,6 +66,8 @@ type (
|
||||
GetOrderInfo(ctx context.Context, in *GetOrderInfoRequest, opts ...grpc.CallOption) (*OrderInfoResponse, error)
|
||||
// status 1 为已支付 4 支付失败,其它的返回错误
|
||||
UpdateOrderPayStatus(ctx context.Context, in *UpdateOrderPayStatusRequest, opts ...grpc.CallOption) (*UpdateOrderPayStatusResponse, error)
|
||||
// 门店是否存在指定产品的有效/待支付订单(内部)
|
||||
ExistByStoreProduct(ctx context.Context, in *ExistByStoreProductReq, opts ...grpc.CallOption) (*ExistByStoreProductResp, error)
|
||||
// API
|
||||
ApiSupply(ctx context.Context, in *ApiSupplyRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
ApiSupplyInfo(ctx context.Context, in *ApiSupplyInfoRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
@@ -164,6 +168,12 @@ func (m *defaultOrder) UpdateOrderPayStatus(ctx context.Context, in *UpdateOrder
|
||||
return client.UpdateOrderPayStatus(ctx, in, opts...)
|
||||
}
|
||||
|
||||
// 门店是否存在指定产品的有效/待支付订单(内部)
|
||||
func (m *defaultOrder) ExistByStoreProduct(ctx context.Context, in *ExistByStoreProductReq, opts ...grpc.CallOption) (*ExistByStoreProductResp, error) {
|
||||
client := order.NewOrderClient(m.cli.Conn())
|
||||
return client.ExistByStoreProduct(ctx, in, opts...)
|
||||
}
|
||||
|
||||
// API
|
||||
func (m *defaultOrder) ApiSupply(ctx context.Context, in *ApiSupplyRequest, opts ...grpc.CallOption) (*Response, error) {
|
||||
client := order.NewOrderClient(m.cli.Conn())
|
||||
|
||||
Reference in New Issue
Block a user