This commit is contained in:
Daniel 2024-04-03 23:25:47 +08:00
parent ffc8b41c50
commit 8815e361f5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -283,7 +283,7 @@ func exportResources(c *gin.Context) {
name = time.Now().Format("export-2006-01-02_15-04-05") // 生成的 *.zip 文件主文件名
}
if arg["paths"] == nil {
if nil == arg["paths"] {
ret.Code = 1
ret.Data = ""
ret.Msg = "paths is required"