Skip to content

Commit

Permalink
fix drive explorer service
Browse files Browse the repository at this point in the history
add task service
  • Loading branch information
zhaomingqiang committed Aug 30, 2021
1 parent 33f6507 commit 44f157e
Show file tree
Hide file tree
Showing 46 changed files with 1,702 additions and 3,020 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ If you encounter any problems during usage, please let us know by submitting [G

- The latest release candidate provides more [open services API](/service) and bug repair.
```shell
go get github.com/larksuite/[email protected]rc2
go get github.com/larksuite/[email protected]rc4
```

## Explanation of terms
Expand Down
2 changes: 1 addition & 1 deletion README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
---

```shell
go get github.com/larksuite/[email protected]rc2
go get github.com/larksuite/[email protected]rc4
```

## 术语解释
Expand Down
3 changes: 1 addition & 2 deletions api/core/handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ func validateResponseFunc(_ *core.Context, req *request.Request) {
req.Err = err
return
}
req.Err = response.NewErrorOfInvalidResp(fmt.Sprintf("content-type: %s, is not: %s, if is stream, "+
"please `request.SetResponseStream() or xxxxReqCall.SetResponseStream(io.Writer)`, body:%s", contentType, coreconst.ContentTypeJson, string(respBody)))
req.Err = response.NewErrorOfInvalidResp(fmt.Sprintf("content-type: %s, is not: %s, body:%s", contentType, coreconst.ContentTypeJson, string(respBody)))
}
}

Expand Down
2 changes: 1 addition & 1 deletion core/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package core

const SdkVersion = "v1.1.40-rc2"
const SdkVersion = "v1.1.40-rc4"
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ go 1.13
require (
github.com/gin-gonic/gin v1.6.3
github.com/go-redis/redis/v8 v8.2.2
github.com/jarcoal/httpmock v1.0.6
github.com/sirupsen/logrus v1.7.0
)
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ github.com/google/go-cmp v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k=
github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
github.com/jarcoal/httpmock v1.0.6 h1:e81vOSexXU3mJuJ4l//geOmKIt+Vkxerk1feQBC8D0g=
github.com/jarcoal/httpmock v1.0.6/go.mod h1:ATjnClrvW/3tijVmpL/va5Z3aAyGvqU3gCT8nX0Txik=
github.com/json-iterator/go v1.1.9 h1:9yzud/Ht36ygwatGx56VwCZtlI/2AD15T1X2sjSuGns=
github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y=
Expand Down
6 changes: 3 additions & 3 deletions sample/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ var conf = configs.TestConfigWithLogrusAndRedisStore(core.DomainFeiShu)
// var conf = configs.TestConfig(core.DomainFeiShu)

func main() {
testSendMessage()
//testSendCardMessage()
//testSendMessage()
testSendCardMessage()
//testUploadFile()
testDownloadFile()
//testDownloadFile()
}

// send card message
Expand Down
74 changes: 37 additions & 37 deletions service/admin/v1/api.go

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

8 changes: 4 additions & 4 deletions service/admin/v1/model.go

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

Loading

0 comments on commit 44f157e

Please sign in to comment.