Skip to content

Commit

Permalink
Merge pull request #50 from dingjun84/master
Browse files Browse the repository at this point in the history
修改过期时间类型错误
  • Loading branch information
royalrick authored Feb 3, 2021
2 parents ef931eb + 65a6642 commit 6518c82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ go get -u github.com/medivhzhan/weapp/v2
- [get](#get)
- [getUnlimited](#getUnlimited)
- [URL-Scheme](#URL-Scheme)
- [generate](#generate)
- [generate](#generate)
- [内容安全](#内容安全)
- [imgSecCheck](#imgSecCheck)
- [mediaCheckAsync](#mediaCheckAsync)
Expand Down
2 changes: 1 addition & 1 deletion url_scheme.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type URLScheme struct {
// 成的scheme码类型,到期失效:true,永久有效:false。
IsExpire bool `json:"is_expire,omitempty"`
// 到期失效的scheme码的失效时间,为Unix时间戳。生成的到期失效scheme码在该时间前有效。最长有效期为1年。生成到期失效的scheme时必填。
ExpireTime bool `json:"expire_time,omitempty"`
ExpireTime int64 `json:"expire_time,omitempty"`
}

type SchemedInfo struct {
Expand Down

0 comments on commit 6518c82

Please sign in to comment.