Skip to content

Commit

Permalink
修复getRow函数无法调用问题
Browse files Browse the repository at this point in the history
  • Loading branch information
devzwy committed Sep 12, 2023
1 parent e267dde commit 28f82ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
<dependency>
<groupId>io.github.devzwy</groupId>
<artifactId>mdhelper</artifactId>
<version>2.2.2</version>
<version>2.2.3</version>
</dependency>
```

- Gradle
```
implementation("io.github.devzwy:mdhelper:2.2.2")
implementation("io.github.devzwy:mdhelper:2.2.3")
```

## 开始使用
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "io.github.devzwy"
version = "2.2.2"
version = "2.2.3"

val sourceJar by tasks.registering(Jar::class) {
from(sourceSets["main"].allSource)
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/io/github/devzwy/mdhelper/MDHelper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class MDHelper private constructor(private val baseUrl: String, private val conf
* [rowId] 行记录ID
* @return
*/
internal inline fun <reified R> getRow(appName: Any? = null, worksheetId: String, rowId: String): R? {
inline fun <reified R> getRow(appName: Any? = null, worksheetId: String, rowId: String): R? {
if (rowId.isEmpty() || worksheetId.isEmpty()) return null
return HttpUtil.sendPost(
"/api/v2/open/worksheet/getRowByIdPost".getRequestUrl(), hashMapOf<String, Any?>(
Expand Down

0 comments on commit 28f82ec

Please sign in to comment.