12345678910111213141516171819202122232425262728293031 |
- package logic
- import (
- "context"
- "jyBXAdditional/rpc/bxcollection/bxcol"
- "jyBXAdditional/rpc/bxcollection/internal/svc"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type AddlabelLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewAddlabelLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddlabelLogic {
- return &AddlabelLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- // 新增标签
- func (l *AddlabelLogic) Addlabel(in *bxcol.AddlabelReq) (*bxcol.AddlabelRes, error) {
- // todo: add your logic here and delete this line
- return &bxcol.AddlabelRes{}, nil
- }
|