order address apis

This commit is contained in:
2026-08-25 08:58:22 +08:00
parent 1c85f16c2e
commit a21b93f569
25 changed files with 1123 additions and 185 deletions
+16 -6
View File
@@ -33,6 +33,11 @@ func (s *OrderServer) WebCreate(ctx context.Context, in *order.CreateOrderReques
return l.WebCreate(in)
}
func (s *OrderServer) WebCreateOne(ctx context.Context, in *order.CreateOrderOneRequest) (*order.Response, error) {
l := logic.NewWebCreateOneLogic(ctx, s.svcCtx)
return l.WebCreateOne(in)
}
func (s *OrderServer) WebAddressCreate(ctx context.Context, in *order.EditAddressRequest) (*order.Response, error) {
l := logic.NewWebAddressCreateLogic(ctx, s.svcCtx)
return l.WebAddressCreate(in)
@@ -43,22 +48,27 @@ func (s *OrderServer) WebAddressEdit(ctx context.Context, in *order.EditAddressR
return l.WebAddressEdit(in)
}
func (s *OrderServer) WebAddressStatus(ctx context.Context, in *order.StatusAddressRequest) (*order.Response, error) {
l := logic.NewWebAddressStatusLogic(ctx, s.svcCtx)
return l.WebAddressStatus(in)
func (s *OrderServer) WebAddressDel(ctx context.Context, in *order.IdAndTypeRequest) (*order.Response, error) {
l := logic.NewWebAddressDelLogic(ctx, s.svcCtx)
return l.WebAddressDel(in)
}
func (s *OrderServer) WebAddressDef(ctx context.Context, in *order.IdRequest) (*order.Response, error) {
func (s *OrderServer) WebAddressDef(ctx context.Context, in *order.IdAndTypeRequest) (*order.Response, error) {
l := logic.NewWebAddressDefLogic(ctx, s.svcCtx)
return l.WebAddressDef(in)
}
func (s *OrderServer) WebAddressItems(ctx context.Context, in *order.EmptyRequest) (*order.Response, error) {
func (s *OrderServer) WebAddressInfo(ctx context.Context, in *order.IdAndTypeRequest) (*order.Response, error) {
l := logic.NewWebAddressInfoLogic(ctx, s.svcCtx)
return l.WebAddressInfo(in)
}
func (s *OrderServer) WebAddressItems(ctx context.Context, in *order.TypeRequest) (*order.Response, error) {
l := logic.NewWebAddressItemsLogic(ctx, s.svcCtx)
return l.WebAddressItems(in)
}
func (s *OrderServer) WebCart(ctx context.Context, in *order.EmptyRequest) (*order.Response, error) {
func (s *OrderServer) WebCart(ctx context.Context, in *order.CartRequest) (*order.Response, error) {
l := logic.NewWebCartLogic(ctx, s.svcCtx)
return l.WebCart(in)
}