Browse Source

文档管理-收藏

gmy 5 months ago
parent
commit
ae9cc52d66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/document_manage_service/document_manage_service.go

+ 1 - 1
services/document_manage_service/document_manage_service.go

@@ -79,7 +79,7 @@ func getChildClassify(classifyList []models.Classify, classifyId int) *[]models.
 	return &childList
 }
 
-func DocumentCollectClassify(userId, classifyId int) error {
+func DocumentCollectClassify(classifyId, userId int) error {
 	logs.Info("DocumentCollectClassify")
 
 	// 查询用户是否已收藏该分类