This commit is contained in:
2026-09-22 18:28:02 +08:00
parent f8e795bc26
commit 48b2d2dd61
30 changed files with 2284 additions and 287 deletions
+17 -1
View File
@@ -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)