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

Commit

Permalink
修改版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkLeong committed Nov 21, 2021
1 parent 5c9b608 commit 1dff7ba
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 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.17"
var Version = "v1.0.18"

type Task struct {
Id string `json:"id"`
Expand All @@ -43,12 +43,11 @@ func main() {
user = flag.String("user", "admin", "用户名")
pwd = flag.String("pwd", "123456", "密码")
versin = flag.Bool("V", false, "显示版本")
//log = flag.Bool("v", false, "是否显示日志(默认不显示)")
refreshToken = flag.String("rt", "155f8c031dcb437a8f7c32a1ae63b60e", "refresh_token")
log = flag.Bool("v", true, "是否显示日志(默认不显示)")
//refreshToken = flag.String("rt", "", "refresh_token")
log = flag.Bool("v", false, "是否显示日志(默认不显示)")
//refreshToken = flag.String("rt", "155f8c031dcb437a8f7c32a1ae63b60e", "refresh_token")
//log = flag.Bool("v", true, "是否显示日志(默认不显示)")
refreshToken = flag.String("rt", "", "refresh_token")
flag.Parse()
*refreshToken = "155f8c031dcb437a8f7c32a1ae63b60e"
if *versin {
fmt.Println(Version)
return
Expand Down

0 comments on commit 1dff7ba

Please sign in to comment.