Skip to content

Commit

Permalink
修复request_id可以会超过int64大小的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jsyzchen committed Apr 29, 2021
1 parent 62c04e9 commit 2e88615
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### 使用Go mod
在您的项目中的`go.mod`文件内添加这行代码
```bash
require github.com/jsyzchen/pan v0.0.5
require github.com/jsyzchen/pan v0.0.6
```
并在项目中引入`github.com/jsyzchen/pan`
```go
Expand Down
6 changes: 3 additions & 3 deletions conf/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package conf
type PcsResponseBase struct {
ErrorCode int `json:"error_code"`
ErrorMsg string `json:"error_msg"`
RequestID int `json:"request_id"`
RequestID uint64 `json:"request_id"`
}

type CloudDiskResponseBase struct {
ErrorCode int `json:"errno"`
ErrorMsg string `json:"errmsg"`
RequestID int `json:"request_id"`
RequestID uint64 `json:"request_id"`
}

type TestDataConfig struct {
Expand All @@ -26,7 +26,7 @@ type TestDataConfig struct {
TranscodingType string
}

const Version = "0.0.5"
const Version = "0.0.6"

const (
BaiduOpenApiDomain = "https://openapi.baidu.com"
Expand Down

0 comments on commit 2e88615

Please sign in to comment.