mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 12:28:48 +01:00
This commit is contained in:
parent
068c03f9d7
commit
53d97e60db
6 changed files with 13 additions and 6 deletions
|
|
@ -61,6 +61,8 @@ func Export2Liandi(id string) (err error) {
|
|||
sqlAssets := sql.QueryRootBlockAssets(id)
|
||||
err = uploadCloud(sqlAssets)
|
||||
|
||||
msgId := util.PushMsg(Conf.Language(182), 15000)
|
||||
|
||||
// 判断帖子是否已经存在,存在则使用更新接口
|
||||
foundArticle := false
|
||||
articleId := tree.Root.IALAttr("liandiArticleId")
|
||||
|
|
@ -135,7 +137,7 @@ func Export2Liandi(id string) (err error) {
|
|||
}
|
||||
|
||||
msg := fmt.Sprintf(Conf.Language(181), util.LiandiServer+"/article/"+articleId)
|
||||
util.PushMsg(msg, 7000)
|
||||
util.PushUpdateMsg(msgId, msg, 7000)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue