diff options
Diffstat (limited to 'printer/printer.go')
-rw-r--r-- | printer/printer.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/printer/printer.go b/printer/printer.go index 7fbcef7..61b4472 100644 --- a/printer/printer.go +++ b/printer/printer.go @@ -8,7 +8,7 @@ import ( const ( AUTHOR = "@sjlleo" - VERSION = "v3.0 Alpha" + VERSION = "v3.0" RED_PREFIX = "\033[1;31m" GREEN_PREFIX = "\033[1;32m" YELLOW_PREFIX = "\033[1;33m" @@ -45,7 +45,12 @@ func printResult(ipVersion string, vResponse verify.VerifyResponse) { case code == 2: fmt.Println(GREEN_PREFIX + "您的出口IP完整解锁Netflix,支持非自制剧的观看" + RESET_PREFIX) fmt.Println(CYAN_PREFIX + "NF所识别的IP地域信息:" + vResponse.CountryName + RESET_PREFIX) + case code == 3: + fmt.Println(YELLOW_PREFIX + "您的出口IP无法观看此电影" + RESET_PREFIX) + case code == 4: + fmt.Println(GREEN_PREFIX + "您的出口IP可以观看此电影" + RESET_PREFIX) + fmt.Println(CYAN_PREFIX + "NF所识别的IP地域信息:" + vResponse.CountryName + RESET_PREFIX) default: - fmt.Println(YELLOW_PREFIX + "IPv4解锁检测失败,但是可以正常观看" + RESET_PREFIX) + fmt.Println(YELLOW_PREFIX + "解锁检测失败,请稍后重试" + RESET_PREFIX) } } |