Skip to content

Commit

Permalink
feat: #130 支持发布到CSDN-支持文章发布、更新和删除
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Sep 2, 2023
1 parent 6086047 commit 0e7eb52
Show file tree
Hide file tree
Showing 7 changed files with 237 additions and 61 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"devDependencies": {
"@terwer/eslint-config-custom": "^1.3.6",
"@types/crypto-js": "^4.1.1",
"@types/node": "^18.17.12",
"@types/node": "^18.17.13",
"@vitejs/plugin-vue": "^4.3.4",
"@vitest/coverage-v8": "^0.34.3",
"@vue/test-utils": "^2.4.1",
Expand Down Expand Up @@ -72,15 +72,15 @@
"vue-i18n": "^9.2.2",
"vue-router": "^4.2.4",
"xmlbuilder2": "^3.1.1",
"zhi-blog-api": "^1.35.0",
"zhi-blog-api": "^1.36.2",
"zhi-common": "^1.23.7",
"zhi-device": "^2.3.1",
"zhi-fetch-middleware": "^0.6.4",
"zhi-github-middleware": "^0.4.2",
"zhi-gitlab-middleware": "^0.6.4",
"zhi-lib-base": "^0.5.0",
"zhi-notion-markdown": "^0.1.4",
"zhi-siyuan-api": "^2.7.0",
"zhi-siyuan-api": "^2.7.3",
"zhi-xmlrpc-middleware": "^0.5.11"
}
}
63 changes: 29 additions & 34 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 4 additions & 7 deletions src/adaptors/web/csdn/csdnConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,9 @@ export class CsdnConfig extends CommonWebConfig {
this.pageType = PageTypeEnum.Markdown
this.usernameEnabled = false
this.passwordType = PasswordType.PasswordType_Cookie
this.cateEnabled = false
this.knowledgeSpaceEnabled = true
this.knowledgeSpaceTitle = "专栏"
this.knowledgeSpaceType = CategoryTypeEnum.CategoryType_Single
this.allowKnowledgeSpaceChange = false
this.placeholder.knowledgeSpaceReadonlyModeTip =
"由于CSDN平台限制,暂时不支持编辑CSDN分类,如需修改,请删除后重新发布"
this.cateEnabled = true
this.categoryType = CategoryTypeEnum.CategoryType_Multi
this.allowCateChange = true
this.knowledgeSpaceEnabled = false
}
}
Loading

0 comments on commit 0e7eb52

Please sign in to comment.