This commit is contained in:
Liang Ding 2023-01-02 21:36:44 +08:00
parent 448fed5532
commit ad60a28278
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 22 additions and 0 deletions

View file

@ -58,6 +58,9 @@ func Export2Liandi(id string) (err error) {
return
}
sqlAssets := sql.QueryRootBlockAssets(id)
err = uploadCloud(sqlAssets)
// 判断帖子是否已经存在,存在则使用更新接口
foundArticle := false
articleId := tree.Root.IALAttr("liandiArticleId")