fix: sale create fields
CI / changes (push) Successful in 14s
CI / docker-bff (push) Successful in 3s
CI / docker-product (push) Successful in 24s
CI / docker-admin (push) Has been skipped
CI / docker-user (push) Has been skipped
CI / docker-ad (push) Has been skipped
CI / docker-chore (push) Successful in 25s
CI / docker-express (push) Has been skipped
CI / docker-sale (push) Successful in 26s
CI / changes (push) Successful in 14s
CI / docker-bff (push) Successful in 3s
CI / docker-product (push) Successful in 24s
CI / docker-admin (push) Has been skipped
CI / docker-user (push) Has been skipped
CI / docker-ad (push) Has been skipped
CI / docker-chore (push) Successful in 25s
CI / docker-express (push) Has been skipped
CI / docker-sale (push) Successful in 26s
This commit is contained in:
@@ -42,10 +42,10 @@ type (
|
||||
Create(ctx context.Context, in *CreateReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Edit(ctx context.Context, in *EditReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Info(ctx context.Context, in *InfoReq, opts ...grpc.CallOption) (*Response, error)
|
||||
// 服务间调用:销售详情(含分组;mobile 脱敏,origin_mobile 为加密串)
|
||||
InfoInternal(ctx context.Context, in *InfoReq, opts ...grpc.CallOption) (*InfoData, error)
|
||||
Items(ctx context.Context, in *ItemsReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Status(ctx context.Context, in *StatusReq, opts ...grpc.CallOption) (*Response, error)
|
||||
// 销售详情
|
||||
InfoInternal(ctx context.Context, in *InfoReq, opts ...grpc.CallOption) (*InfoData, error)
|
||||
}
|
||||
|
||||
defaultSale struct {
|
||||
@@ -106,12 +106,6 @@ func (m *defaultSale) Info(ctx context.Context, in *InfoReq, opts ...grpc.CallOp
|
||||
return client.Info(ctx, in, opts...)
|
||||
}
|
||||
|
||||
// 服务间调用:销售详情(含分组;mobile 脱敏,origin_mobile 为加密串)
|
||||
func (m *defaultSale) InfoInternal(ctx context.Context, in *InfoReq, opts ...grpc.CallOption) (*InfoData, error) {
|
||||
client := sale.NewSaleClient(m.cli.Conn())
|
||||
return client.InfoInternal(ctx, in, opts...)
|
||||
}
|
||||
|
||||
func (m *defaultSale) Items(ctx context.Context, in *ItemsReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
client := sale.NewSaleClient(m.cli.Conn())
|
||||
return client.Items(ctx, in, opts...)
|
||||
@@ -121,3 +115,9 @@ func (m *defaultSale) Status(ctx context.Context, in *StatusReq, opts ...grpc.Ca
|
||||
client := sale.NewSaleClient(m.cli.Conn())
|
||||
return client.Status(ctx, in, opts...)
|
||||
}
|
||||
|
||||
// 销售详情
|
||||
func (m *defaultSale) InfoInternal(ctx context.Context, in *InfoReq, opts ...grpc.CallOption) (*InfoData, error) {
|
||||
client := sale.NewSaleClient(m.cli.Conn())
|
||||
return client.InfoInternal(ctx, in, opts...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user