|
|
|
@ -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"))
|
|
|
|
|