new create admin order,express add company
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user