Compare commits

...

2 Commits

Author SHA1 Message Date
fc27df9caf chore(release): publish
- @egg/net-tool@1.30.1
2025-01-27 14:14:27 +00:00
3cd595638e fix(net-tool): 修复 LarkWikiService 中的 getNodeInfo 方法以使用 GET 请求
All checks were successful
/ release (push) Successful in 27s
2025-01-27 14:14:02 +00:00
4 changed files with 9 additions and 3 deletions

2
package-lock.json generated
View File

@ -12394,7 +12394,7 @@
},
"packages/net-tool": {
"name": "@egg/net-tool",
"version": "1.30.0",
"version": "1.30.1",
"license": "ISC",
"dependencies": {
"@egg/logger": "^1.6.0",

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.30.1](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/net-tool@1.30.0...@egg/net-tool@1.30.1) (2025-01-27)
### Bug Fixes
- **net-tool:** 修复 LarkWikiService 中的 getNodeInfo 方法以使用 GET 请求 ([3cd5956](http://yingbo.im:3000/zhaoyingbo/egg_tools/commits/3cd595638e85ee11f0f37701a28d5146b99609f3))
# [1.30.0](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/net-tool@1.29.0...@egg/net-tool@1.30.0) (2025-01-27)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "@egg/net-tool",
"version": "1.30.0",
"version": "1.30.1",
"description": "Net Tools for Egg projects",
"type": "module",
"main": "src/index.ts",

View File

@ -9,7 +9,7 @@ class LarkWikiService extends LarkBaseService {
*/
async getNodeInfo(token: string) {
const path = `/wiki/v2/spaces/get_node`
return this.post<Lark.WikiNodeData>(path, { token })
return this.get<Lark.WikiNodeData>(path, { token })
}
}