...
|
...
|
@@ -26,7 +26,6 @@ func NewCreateTagLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateT |
|
|
}
|
|
|
|
|
|
func (l *CreateTagLogic) CreateTag(req *types.TagCreateRequest) (resp *types.TagCreateResponse, err error) {
|
|
|
// todo: add your logic here and delete this line
|
|
|
var conn = l.svcCtx.DefaultDBConn()
|
|
|
//检查重复
|
|
|
cnt, _, err := l.svcCtx.ArticleTagRepository.Find(l.ctx, conn, req.CompanyId, map[string]interface{}{
|
...
|
...
|
|