beans , mask admin
CI / changes (push) Successful in 38s
CI / ad (push) Successful in 3m1s
CI / admin (push) Successful in 34s
CI / bff (push) Successful in 29s
CI / chore (push) Successful in 34s
CI / equipment (push) Failing after 11s
CI / express (push) Successful in 27s
CI / factory (push) Successful in 32s
CI / payment (push) Successful in 29s
CI / product (push) Successful in 30s
CI / record (push) Successful in 30s
CI / sale (push) Successful in 30s
CI / task (push) Successful in 32s
CI / user (push) Successful in 31s
CI / wecom (push) Successful in 33s
CI / changes (push) Successful in 38s
CI / ad (push) Successful in 3m1s
CI / admin (push) Successful in 34s
CI / bff (push) Successful in 29s
CI / chore (push) Successful in 34s
CI / equipment (push) Failing after 11s
CI / express (push) Successful in 27s
CI / factory (push) Successful in 32s
CI / payment (push) Successful in 29s
CI / product (push) Successful in 30s
CI / record (push) Successful in 30s
CI / sale (push) Successful in 30s
CI / task (push) Successful in 32s
CI / user (push) Successful in 31s
CI / wecom (push) Successful in 33s
This commit is contained in:
@@ -47,3 +47,84 @@ func (s *EquipmentServer) Status(ctx context.Context, in *equipment.StatusReques
|
||||
l := logic.NewStatusLogic(ctx, s.svcCtx)
|
||||
return l.Status(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) MaskItems(ctx context.Context, in *equipment.MaskItemsRequest) (*equipment.Response, error) {
|
||||
l := logic.NewMaskItemsLogic(ctx, s.svcCtx)
|
||||
return l.MaskItems(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) BeansItems(ctx context.Context, in *equipment.BeansItemsRequest) (*equipment.Response, error) {
|
||||
l := logic.NewBeansItemsLogic(ctx, s.svcCtx)
|
||||
return l.BeansItems(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) BindExpiry(ctx context.Context, in *equipment.BindExpiryRequest) (*equipment.Response, error) {
|
||||
l := logic.NewBindExpiryLogic(ctx, s.svcCtx)
|
||||
return l.BindExpiry(in)
|
||||
}
|
||||
|
||||
// API
|
||||
func (s *EquipmentServer) ApiMaskAdd(ctx context.Context, in *equipment.ApiMaskAddRequest) (*equipment.Response, error) {
|
||||
l := logic.NewApiMaskAddLogic(ctx, s.svcCtx)
|
||||
return l.ApiMaskAdd(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) ApiBindItems(ctx context.Context, in *equipment.EmptyRequest) (*equipment.Response, error) {
|
||||
l := logic.NewApiBindItemsLogic(ctx, s.svcCtx)
|
||||
return l.ApiBindItems(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) ApiUnBind(ctx context.Context, in *equipment.ApiUnBindRequest) (*equipment.Response, error) {
|
||||
l := logic.NewApiUnBindLogic(ctx, s.svcCtx)
|
||||
return l.ApiUnBind(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) ApiBindAdd(ctx context.Context, in *equipment.ApiBindAddRequest) (*equipment.Response, error) {
|
||||
l := logic.NewApiBindAddLogic(ctx, s.svcCtx)
|
||||
return l.ApiBindAdd(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) ApiBindExpiry(ctx context.Context, in *equipment.ApiBindExpiryRequest) (*equipment.Response, error) {
|
||||
l := logic.NewApiBindExpiryLogic(ctx, s.svcCtx)
|
||||
return l.ApiBindExpiry(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) ApiBindExpiryGet(ctx context.Context, in *equipment.ApiBindExpiryGetRequest) (*equipment.Response, error) {
|
||||
l := logic.NewApiBindExpiryGetLogic(ctx, s.svcCtx)
|
||||
return l.ApiBindExpiryGet(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) ApiBeansAdd(ctx context.Context, in *equipment.ApiBeansAddRequest) (*equipment.Response, error) {
|
||||
l := logic.NewApiBeansAddLogic(ctx, s.svcCtx)
|
||||
return l.ApiBeansAdd(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) ApiBeansLast(ctx context.Context, in *equipment.EmptyRequest) (*equipment.Response, error) {
|
||||
l := logic.NewApiBeansLastLogic(ctx, s.svcCtx)
|
||||
return l.ApiBeansLast(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) ApiBeansItems(ctx context.Context, in *equipment.ApiBeansItemsRequest) (*equipment.Response, error) {
|
||||
l := logic.NewApiBeansItemsLogic(ctx, s.svcCtx)
|
||||
return l.ApiBeansItems(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) ApiMaskUse(ctx context.Context, in *equipment.ApiMaskUseRequest) (*equipment.Response, error) {
|
||||
l := logic.NewApiMaskUseLogic(ctx, s.svcCtx)
|
||||
return l.ApiMaskUse(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) ApiMaskUsedItems(ctx context.Context, in *equipment.ApiMaskUsedItemsRequest) (*equipment.Response, error) {
|
||||
l := logic.NewApiMaskUsedItemsLogic(ctx, s.svcCtx)
|
||||
return l.ApiMaskUsedItems(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) ApiMaskStoreUse(ctx context.Context, in *equipment.ApiMaskUseRequest) (*equipment.Response, error) {
|
||||
l := logic.NewApiMaskStoreUseLogic(ctx, s.svcCtx)
|
||||
return l.ApiMaskStoreUse(in)
|
||||
}
|
||||
|
||||
func (s *EquipmentServer) ApiMaskStoreUseItems(ctx context.Context, in *equipment.ApiMaskUsedItemsRequest) (*equipment.Response, error) {
|
||||
l := logic.NewApiMaskStoreUseItemsLogic(ctx, s.svcCtx)
|
||||
return l.ApiMaskStoreUseItems(in)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user