ws
CI / changes (push) Successful in 1m28s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 24s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 23s
CI / express (push) Failing after 7s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 17s
CI / product (push) Successful in 0s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / changes (push) Successful in 1m28s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 24s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 23s
CI / express (push) Failing after 7s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 17s
CI / product (push) Successful in 0s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 0s
This commit is contained in:
@@ -58,12 +58,6 @@ func (s *ExpressServer) History(ctx context.Context, in *express.HistoryRequest)
|
||||
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)
|
||||
@@ -85,6 +79,42 @@ func (s *ExpressServer) ExpressAdminEstimated(ctx context.Context, in *express.I
|
||||
return l.ExpressAdminEstimated(in)
|
||||
}
|
||||
|
||||
func (s *ExpressServer) PrintBarCode(ctx context.Context, in *express.PrintBarCodeRequest) (*express.Response, error) {
|
||||
l := logic.NewPrintBarCodeLogic(ctx, s.svcCtx)
|
||||
return l.PrintBarCode(in)
|
||||
}
|
||||
|
||||
func (s *ExpressServer) PrintBarCodePrint(ctx context.Context, in *express.PrintBarCodePrintRequest) (*express.Response, error) {
|
||||
l := logic.NewPrintBarCodePrintLogic(ctx, s.svcCtx)
|
||||
return l.PrintBarCodePrint(in)
|
||||
}
|
||||
|
||||
func (s *ExpressServer) PrintExpress(ctx context.Context, in *express.PrintExpressRequest) (*express.Response, error) {
|
||||
l := logic.NewPrintExpressLogic(ctx, s.svcCtx)
|
||||
return l.PrintExpress(in)
|
||||
}
|
||||
|
||||
func (s *ExpressServer) PrintExpressTransit(ctx context.Context, in *express.PrintExpressTransitRequest) (*express.Response, error) {
|
||||
l := logic.NewPrintExpressTransitLogic(ctx, s.svcCtx)
|
||||
return l.PrintExpressTransit(in)
|
||||
}
|
||||
|
||||
func (s *ExpressServer) PrintExpressPrint(ctx context.Context, in *express.PrintExpressPrintRequest) (*express.Response, error) {
|
||||
l := logic.NewPrintExpressPrintLogic(ctx, s.svcCtx)
|
||||
return l.PrintExpressPrint(in)
|
||||
}
|
||||
|
||||
func (s *ExpressServer) PrintProduct(ctx context.Context, in *express.EmtpyRequest) (*express.Response, error) {
|
||||
l := logic.NewPrintProductLogic(ctx, s.svcCtx)
|
||||
return l.PrintProduct(in)
|
||||
}
|
||||
|
||||
// 不需要登录
|
||||
func (s *ExpressServer) PrintBind(ctx context.Context, in *express.PrintBindRequest) (*express.Response, error) {
|
||||
l := logic.NewPrintBindLogic(ctx, s.svcCtx)
|
||||
return l.PrintBind(in)
|
||||
}
|
||||
|
||||
// API
|
||||
func (s *ExpressServer) ExpressSfBack(ctx context.Context, in *express.EmtpyRequest) (*express.SfResponse, error) {
|
||||
l := logic.NewExpressSfBackLogic(ctx, s.svcCtx)
|
||||
@@ -111,47 +141,6 @@ func (s *ExpressServer) ExpressApiCancel(ctx context.Context, in *express.IdApiR
|
||||
return l.ExpressApiCancel(in)
|
||||
}
|
||||
|
||||
func (s *ExpressServer) ApiPrintBarCode(ctx context.Context, in *express.ApiPrintBarCodeRequest) (*express.Response, error) {
|
||||
l := logic.NewApiPrintBarCodeLogic(ctx, s.svcCtx)
|
||||
return l.ApiPrintBarCode(in)
|
||||
}
|
||||
|
||||
func (s *ExpressServer) ApiPrintBarCodePrint(ctx context.Context, in *express.ApiPrintBarCodePrintRequest) (*express.Response, error) {
|
||||
l := logic.NewApiPrintBarCodePrintLogic(ctx, s.svcCtx)
|
||||
return l.ApiPrintBarCodePrint(in)
|
||||
}
|
||||
|
||||
func (s *ExpressServer) ApiPrintExpress(ctx context.Context, in *express.ApiPrintExpressRequest) (*express.Response, error) {
|
||||
l := logic.NewApiPrintExpressLogic(ctx, s.svcCtx)
|
||||
return l.ApiPrintExpress(in)
|
||||
}
|
||||
|
||||
func (s *ExpressServer) ApiPrintExpressTransit(ctx context.Context, in *express.ApiPrintExpressTransitRequest) (*express.Response, error) {
|
||||
l := logic.NewApiPrintExpressTransitLogic(ctx, s.svcCtx)
|
||||
return l.ApiPrintExpressTransit(in)
|
||||
}
|
||||
|
||||
func (s *ExpressServer) ApiPrintExpressPrint(ctx context.Context, in *express.ApiPrintExpressPrintRequest) (*express.Response, error) {
|
||||
l := logic.NewApiPrintExpressPrintLogic(ctx, s.svcCtx)
|
||||
return l.ApiPrintExpressPrint(in)
|
||||
}
|
||||
|
||||
func (s *ExpressServer) ApiPrintProduct(ctx context.Context, in *express.EmtpyRequest) (*express.Response, error) {
|
||||
l := logic.NewApiPrintProductLogic(ctx, s.svcCtx)
|
||||
return l.ApiPrintProduct(in)
|
||||
}
|
||||
|
||||
func (s *ExpressServer) ApiLogin(ctx context.Context, in *express.ApiLoginRequest) (*express.Response, error) {
|
||||
l := logic.NewApiLoginLogic(ctx, s.svcCtx)
|
||||
return l.ApiLogin(in)
|
||||
}
|
||||
|
||||
// 不需要登录
|
||||
func (s *ExpressServer) ApiPrintBind(ctx context.Context, in *express.ApiPrintBindRequest) (*express.Response, error) {
|
||||
l := logic.NewApiPrintBindLogic(ctx, s.svcCtx)
|
||||
return l.ApiPrintBind(in)
|
||||
}
|
||||
|
||||
// 添加生成订单的发货信息
|
||||
func (s *ExpressServer) DeliveryOrderCreate(ctx context.Context, in *express.DeliveryOrderCreateRequest) (*express.IdResponse, error) {
|
||||
l := logic.NewDeliveryOrderCreateLogic(ctx, s.svcCtx)
|
||||
|
||||
Reference in New Issue
Block a user