'commit'
continuous-integration/drone/push Build is passing Details

master
黄海 4 years ago
parent 9942c7f7e7
commit 35a0385bcf

@ -7,12 +7,6 @@
<list default="true" id="19c8c37d-a056-451c-a29d-fb612b9a3e2f" name="Default Changelist" comment="commit">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Business/FileRelate/FileRelateController/FileReleateController.go" beforeDir="false" afterPath="$PROJECT_DIR$/Business/FileRelate/FileRelateController/FileReleateController.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Business/FileRelate/FileRelateDao/FileReleateDao.go" beforeDir="false" afterPath="$PROJECT_DIR$/Business/FileRelate/FileRelateDao/FileReleateDao.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Utils/CommonUtil/CommonUtil.go" beforeDir="false" afterPath="$PROJECT_DIR$/Utils/CommonUtil/CommonUtil.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/go.mod" beforeDir="false" afterPath="$PROJECT_DIR$/go.mod" afterDir="false" />
<change beforePath="$PROJECT_DIR$/go.sum" beforeDir="false" afterPath="$PROJECT_DIR$/go.sum" afterDir="false" />
<change beforePath="$PROJECT_DIR$/main.go" beforeDir="false" afterPath="$PROJECT_DIR$/main.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/models/t_zhxy_clouddisk_tree.go" beforeDir="false" afterPath="$PROJECT_DIR$/models/t_zhxy_clouddisk_tree.go" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />

@ -363,9 +363,18 @@ func delNodeFile(c *gin.Context) {
}
}
/**
*/
// @Summary 获取指定结点下的文件列表
// @Description 获取指定结点下的文件列表
// @Tags 文件系统管理
// @Accept application/x-www-form-urlencoded
// @Produce json
// @Param identity_id formData string true "上传人身份ID"
// @Param person_id formData string true "上传人ID"
// @Param node_id formData string true "结点ID"
// @Success 200 {object} Model.Res
// @X-IntRangeLimit [{"identity_id":"5"},{"person_id":"1,999999999999"}]
// @X-EmptyLimit ["node_id"]
// @Router /dsSzxy/fileRelate/GetFileList [get]
func GetFileList(c *gin.Context) {
identityId := CommonUtil.ConvertStringToInt32(c.PostForm("identity_id"))
personId := CommonUtil.ConvertStringToInt32(c.PostForm("person_id"))
@ -379,7 +388,16 @@ func GetFileList(c *gin.Context) {
})
}
//获取指定树型结构下的子目录(同步)
// @Summary 获取指定树型结构下的子目录(同步)
// @Description 获取指定树型结构下的子目录(同步)
// @Tags 文件系统管理
// @Accept application/x-www-form-urlencoded
// @Produce json
// @Param identity_id formData string true "上传人身份ID"
// @Param person_id formData string true "上传人ID"
// @Success 200 {object} Model.Res
// @X-IntRangeLimit [{"identity_id":"5"},{"person_id":"1,999999999999"}]
// @Router /dsSzxy/fileRelate/GetSyncTree [get]
func GetSyncTree(c *gin.Context) {
identityId := CommonUtil.ConvertStringToInt32(c.PostForm("identity_id"))
personId := CommonUtil.ConvertStringToInt32(c.PostForm("person_id"))
@ -390,7 +408,18 @@ func GetSyncTree(c *gin.Context) {
})
}
//获取指定树型结构下的子目录(异步)
// @Summary 获取指定树型结构下的子目录(异步)
// @Description 获取指定树型结构下的子目录(异步)
// @Tags 文件系统管理
// @Accept application/x-www-form-urlencoded
// @Produce json
// @Param identity_id formData string true "上传人身份ID"
// @Param person_id formData string true "上传人ID"
// @Param node_id formData string true "结点ID"
// @Success 200 {object} Model.Res
// @X-IntRangeLimit [{"identity_id":"5"},{"person_id":"1,999999999999"}]
// @X-EmptyLimit ["node_id"]
// @Router /dsSzxy/fileRelate/GetAsyncTree [get]
func GetAsyncTree(c *gin.Context) {
identityId := CommonUtil.ConvertStringToInt32(c.PostForm("identity_id"))
personId := CommonUtil.ConvertStringToInt32(c.PostForm("person_id"))

Loading…
Cancel
Save