labelactionlogic.go 709 B

12345678910111213141516171819202122232425262728293031
  1. package logic
  2. import (
  3. "context"
  4. "jyMicroservices/jyBXAdditional/rpc/bxcollection/bxcol"
  5. "jyMicroservices/jyBXAdditional/rpc/bxcollection/internal/svc"
  6. "github.com/zeromicro/go-zero/core/logx"
  7. )
  8. type LabelActionLogic struct {
  9. ctx context.Context
  10. svcCtx *svc.ServiceContext
  11. logx.Logger
  12. }
  13. func NewLabelActionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LabelActionLogic {
  14. return &LabelActionLogic{
  15. ctx: ctx,
  16. svcCtx: svcCtx,
  17. Logger: logx.WithContext(ctx),
  18. }
  19. }
  20. // 标签新增或删除
  21. func (l *LabelActionLogic) LabelAction(in *bxcol.LabelActionReq) (*bxcol.LabelActionRes, error) {
  22. // todo: add your logic here and delete this line
  23. return &bxcol.LabelActionRes{}, nil
  24. }