mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🎨 Clean code https://github.com/siyuan-note/siyuan/pull/10855
This commit is contained in:
parent
ffc8b41c50
commit
8815e361f5
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ func exportResources(c *gin.Context) {
|
||||||
name = time.Now().Format("export-2006-01-02_15-04-05") // 生成的 *.zip 文件主文件名
|
name = time.Now().Format("export-2006-01-02_15-04-05") // 生成的 *.zip 文件主文件名
|
||||||
}
|
}
|
||||||
|
|
||||||
if arg["paths"] == nil {
|
if nil == arg["paths"] {
|
||||||
ret.Code = 1
|
ret.Code = 1
|
||||||
ret.Data = ""
|
ret.Data = ""
|
||||||
ret.Msg = "paths is required"
|
ret.Msg = "paths is required"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue