fix: 修改来源
This commit is contained in:
parent
4069fe50c3
commit
7b8e56c0b4
@ -224,7 +224,7 @@ func processContentTags(ctx *gin.Context, content string) error {
|
|||||||
HashTag: tag,
|
HashTag: tag,
|
||||||
CreatorUuid: fmt.Sprint(userInfo.ID),
|
CreatorUuid: fmt.Sprint(userInfo.ID),
|
||||||
CreatorName: userInfo.Name,
|
CreatorName: userInfo.Name,
|
||||||
Source: 4, // 4: 自动标签(从内容中自动提取)
|
Source: 3, // 3: 推荐标签(推荐的标签)
|
||||||
Status: 1, // 1: 有效
|
Status: 1, // 1: 有效
|
||||||
}
|
}
|
||||||
req.Data = append(req.Data, tagInfo)
|
req.Data = append(req.Data, tagInfo)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user