From cad10c573c949116bec1f0f30cb98d87447883fd Mon Sep 17 00:00:00 2001 From: casperding Date: Wed, 3 Feb 2021 11:42:04 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BF=87=E6=9C=9F?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- url_scheme.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/url_scheme.go b/url_scheme.go index 9fdbf8f..f75e5c8 100644 --- a/url_scheme.go +++ b/url_scheme.go @@ -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 { From 65a6642b5623601c1892c507e6393fcce40ac581 Mon Sep 17 00:00:00 2001 From: casperding Date: Wed, 3 Feb 2021 20:01:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?URL-Scheme=E6=B5=8B=E8=AF=95=E9=80=9A?= =?UTF-8?q?=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 52a9632..d6916f6 100644 --- a/Readme.md +++ b/Readme.md @@ -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)✅