store
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Code generated by goctl. DO NOT EDIT.
|
||||
// goctl 1.10.1
|
||||
// goctl 1.10.2
|
||||
// Source: sale.proto
|
||||
|
||||
package server
|
||||
@@ -80,6 +80,22 @@ func (s *SaleServer) Status(ctx context.Context, in *sale.StatusReq) (*sale.Resp
|
||||
return l.Status(in)
|
||||
}
|
||||
|
||||
// API
|
||||
func (s *SaleServer) ApiSaleAdd(ctx context.Context, in *sale.ApiSaleAddReq) (*sale.Response, error) {
|
||||
l := logic.NewApiSaleAddLogic(ctx, s.svcCtx)
|
||||
return l.ApiSaleAdd(in)
|
||||
}
|
||||
|
||||
func (s *SaleServer) ApiLowerSaleItems(ctx context.Context, in *sale.ApiLowerSaleItemsReq) (*sale.Response, error) {
|
||||
l := logic.NewApiLowerSaleItemsLogic(ctx, s.svcCtx)
|
||||
return l.ApiLowerSaleItems(in)
|
||||
}
|
||||
|
||||
func (s *SaleServer) ApiSaleInfo(ctx context.Context, in *sale.EmptyReq) (*sale.Response, error) {
|
||||
l := logic.NewApiSaleInfoLogic(ctx, s.svcCtx)
|
||||
return l.ApiSaleInfo(in)
|
||||
}
|
||||
|
||||
// 销售详情
|
||||
func (s *SaleServer) InfoInternal(ctx context.Context, in *sale.InfoReq) (*sale.InfoData, error) {
|
||||
l := logic.NewInfoInternalLogic(ctx, s.svcCtx)
|
||||
|
||||
Reference in New Issue
Block a user