new create admin order,express add company

This commit is contained in:
2026-09-02 18:02:57 +08:00
parent 02819d159a
commit e0a63bbef9
38 changed files with 3023 additions and 265 deletions
@@ -52,3 +52,26 @@ func (s *ExpressServer) Status(ctx context.Context, in *express.StatusRequest) (
l := logic.NewStatusLogic(ctx, s.svcCtx)
return l.Status(in)
}
func (s *ExpressServer) History(ctx context.Context, in *express.HistoryRequest) (*express.Response, error) {
l := logic.NewHistoryLogic(ctx, s.svcCtx)
return l.History(in)
}
// 获取可选的打印公司
func (s *ExpressServer) ExpressCompany(ctx context.Context, in *express.ExpressCompanyRequest) (*express.Response, error) {
l := logic.NewExpressCompanyLogic(ctx, s.svcCtx)
return l.ExpressCompany(in)
}
// 发货
func (s *ExpressServer) ExpressDelivering(ctx context.Context, in *express.DeliveringRequest) (*express.Response, error) {
l := logic.NewExpressDeliveringLogic(ctx, s.svcCtx)
return l.ExpressDelivering(in)
}
// 添加生成订单的发货信息
func (s *ExpressServer) DeliveryOrderCreate(ctx context.Context, in *express.DeliveryOrderCreateRequest) (*express.IdResponse, error) {
l := logic.NewDeliveryOrderCreateLogic(ctx, s.svcCtx)
return l.DeliveryOrderCreate(in)
}