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

master
黄海 4 years ago
parent dee92c5bbc
commit 26c5f55260

@ -5,27 +5,12 @@
</component>
<component name="ChangeListManager">
<list default="true" id="19c8c37d-a056-451c-a29d-fb612b9a3e2f" name="Default Changelist" comment="commit">
<change afterPath="$PROJECT_DIR$/Handler/CheckHandler/CheckHandler.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Handler/CheckHandler/LimitDateTime.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Handler/CheckHandler/LimitEmail.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Handler/CheckHandler/LimitEmpty.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Handler/CheckHandler/LimitFloatRange.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Handler/CheckHandler/LimitIdCard.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Handler/CheckHandler/LimitIntRange.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Handler/CheckHandler/LimitLength.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Handler/CheckHandler/LimitTel.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Handler/ParameterHandler.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Tools/XltraSwag.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Utils/CommonUtil/SwaggerUtil.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/docs/docs.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/docs/docs.go.template" afterDir="false" />
<change afterPath="$PROJECT_DIR$/docs/swagger.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/docs/swagger.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" 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$/Business/FileRelate/FileRelateController/FileReleateController.go" beforeDir="false" afterPath="$PROJECT_DIR$/Business/FileRelate/FileRelateController/FileReleateController.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/docs/docs.go" beforeDir="false" afterPath="$PROJECT_DIR$/docs/docs.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/docs/swagger.json" beforeDir="false" afterPath="$PROJECT_DIR$/docs/swagger.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/docs/swagger.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/docs/swagger.yaml" 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" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -89,7 +74,7 @@
<recent name="E:\Work\dsMin\dsSzxy\Utils\SsdbUtil" />
</key>
</component>
<component name="RunManager" selected="Go Build.go build dsSzxy">
<component name="RunManager" selected="Go Build.go build dsSzxy/Tools">
<configuration default="true" type="GoApplicationRunConfiguration" factoryName="Go Application">
<module name="dsSzxy" />
<working_directory value="$PROJECT_DIR$" />
@ -108,6 +93,15 @@
<filePath value="$PROJECT_DIR$/main.go" />
<method v="2" />
</configuration>
<configuration name="go build dsSzxy/Tools" type="GoApplicationRunConfiguration" factoryName="Go Application" temporary="true" nameIsGenerated="true">
<module name="dsSzxy" />
<working_directory value="$PROJECT_DIR$" />
<kind value="FILE" />
<package value="dsSzxy/Tools" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/Tools/XltraSwag.go" />
<method v="2" />
</configuration>
<configuration name="go build main.go" type="GoApplicationRunConfiguration" factoryName="Go Application" temporary="true" nameIsGenerated="true">
<module name="dsSzxy" />
<working_directory value="$PROJECT_DIR$" />
@ -129,6 +123,7 @@
</configuration>
<recent_temporary>
<list>
<item itemvalue="Go Build.go build dsSzxy/Tools" />
<item itemvalue="Go Build.go build dsSzxy" />
<item itemvalue="Go Build.go build main.go" />
</list>

@ -29,7 +29,20 @@ func Routers(r *gin.RouterGroup) {
}
//文件上传
// @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 target_group_id formData string true "目标群组ID"
// @Param target_identity_id formData string true "目标人身份ID"
// @Param target_person_id formData string true "目标人ID"
// @Success 200 {object} Model.Res
// @Router /dsSzxy/fileRelate/fileUpload [post]
// @X-IntRangeLimit [{"identity_id":"5"},{"person_id":"1,999999999999"},{"target_group_id":"1,999999999999"},{"target_identity_id":"5",{"target_person_id":"1,999999999999"},{"system_id":"1,20"}]
// @X-TableName ["t_zhxy_file"]
func fileUpload(c *gin.Context) {
file, err := c.FormFile("file")
if err != nil {
@ -137,7 +150,17 @@ func fileUpload(c *gin.Context) {
}
}
//文件修改名称
// @Summary 修改文件名称
// @Description 修改文件名称
// @Tags 文件系统管理
// @Accept application/x-www-form-urlencoded
// @Produce json
// @Param file_id formData string true "文件ID"
// @Param file_name formData string true "文件名称"
// @Success 200 {object} Model.Res
// @Router /dsSzxy/fileRelate/fileUpdate [post]
// @X-EmptyLimit ["file_id","file_name"]
// @X-TableName ["t_zhxy_file"]
func fileUpdate(c *gin.Context) {
fileId := c.PostForm("file_id")
fileName := c.PostForm("file_name")

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -118,6 +118,7 @@ github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHqu
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=

Loading…
Cancel
Save