README.md | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
licence.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
README.md
@@ -20,7 +20,7 @@ fmt.Println("licenceCode: ", licenceCode) // 验证Licence, 0, 成功 1, 无效 2, 设备未授权 3, 过期 fmt.Println(licence.VerifyLicence(licenceCode)) fmt.Println(licence.VerifyLicence(licenceCode, key)) } ``` licence.go
@@ -59,7 +59,7 @@ return AESEncodeStr(json, key) } func VerifyLicence(licenceCode string) uint32 { func VerifyLicence(licenceCode, key string) uint32 { decodeData := AESDecodeStr(licenceCode, key) if decodeData == nil { return ValidationErrorMalformed