Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkLeong committed Nov 8, 2021
1 parent 4e98d33 commit b49dad3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func init() {
cache.Init()
}

var Version = "v1.0.14"
var Version = "v1.0.15"

type Task struct {
Id string `json:"id"`
Expand Down Expand Up @@ -52,7 +52,7 @@ func main() {
fmt.Println(Version)
return
}
if len(*refreshToken) == 0 || len(os.Args) < 3 || os.Args[1] != "-rt" {
if len(*refreshToken) == 0 {
fmt.Println("rt为必填项,请输入refreshToken")
return
}
Expand Down

0 comments on commit b49dad3

Please sign in to comment.